Hi,
  Well, I am developing my blog and in my index page I have the latest
05 posts. This posts can be big and I think that a good idea is
"break" the content and put a link "read more" to read the full
content of the post.

  To solve this problem I thought of two solutions:

  1) Break the post in determined number of the words, but this has a
problem:
     - Break the formatation of my index page.

     I implemented this to test but as the content field is a field
that accepts html tags if I put a "read more" in 50 words and this
occurs before closing a tag </ pre> eg just breaking the layout of the
page.

  2) Implement/put a "special tag" [more] for example in the field
content of the post, and in the page filter to stop the post in this
tag. (Think that this is the "best idea", but I don't know how to do
this)

  Then, what is the best way to do this? any suggestion or idea?

  -- Leandro.
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to