Can page/chapter titles be added to the online book ?

40 views
Skip to first unread message

Holger Schurig

unread,
Jun 24, 2013, 6:01:11 AM6/24/13
to web...@googlegroups.com
As I'm new to web2py, I usually have several tabs open to various web2py chapters from the online book.

Unfortunately, the page title for each tab is "web2py". See the attached screenshot.

Can those book pages get more descriptive titles?
web2pybooks.png

Massimo Di Pierro

unread,
Jun 24, 2013, 2:31:11 PM6/24/13
to web...@googlegroups.com
Good idea. Asap. It is easy to do.

Paolo valleri

unread,
Jun 24, 2013, 2:55:03 PM6/24/13
to web...@googlegroups.com
I would add the title in the url, not only for a better seo but also for a faster in-browser url matching against visited url while typing,
from:
to:

actually even better without the 'default'

Paolo

Anthony

unread,
Jun 24, 2013, 3:59:26 PM6/24/13
to web...@googlegroups.com
I have argued for slugs instead of chapter numbers in the URL's. There are many links to the book on the internet (here, Stack Overflow, etc.), and if we ever re-number the chapters (which we have done in the past), all the old links break.

Also, when a section title ends with "(experimental)", it would be nice to keep that out of the URL, so when we finally remove the "(experimental)", it won't break existing links to the section (not to mention the fact that the parentheses present problems when pasting the URL into posts on Stack Overflow and other places).

Anthony

villas

unread,
Jun 24, 2013, 8:12:18 PM6/24/13
to web...@googlegroups.com
Totally agree with Anthony about associating well-named slugs to sections.

In the longer term, it is much much important for the book to be optimally organised than worrying about old links. Having said that,  it wouldn't be too difficult to 'pin' current chapters to specific slug placeholders,  and then we have the best of both worlds.


paolo....@gmail.com

unread,
Jun 25, 2013, 3:30:15 AM6/25/13
to web...@googlegroups.com
Anthony we can have both, chapter numbers and slug in the url. If we don't change the args position former links should work too. isn't it?

 Paolo


2013/6/24 Anthony <abas...@gmail.com>

--
 
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/NPpBGRBY1nI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Niphlod

unread,
Jun 25, 2013, 5:47:10 AM6/25/13
to web...@googlegroups.com
having 01/slug shouldn't be a problem, but those links with /slug will be generated just for the menu part on the left side.....I can work on that but I don't see any other place where they can be expressed.
Reply all
Reply to author
Forward
0 new messages