Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Thomas Leitner
RE: section's order of links in menu [ reply ]  
2010-06-18 11:35
No, they don't use sort_info. These keys have to be set manually, currently. This will change in a future version, i.e. these key may be auto-populated by webgen according to some yet-to-be-defined scheme.

By: Thomas Leitner
RE: section's order of links in menu [ reply ]  
2010-06-18 11:33
You can find information about the available meta information keys at http://webgen.rubyforge.org/documentation/reference_metainfo.html

See http://webgen.rubyforge.org/documentation/ for an overview of all available documentation.

By: John Plumridge
RE: section's order of links in menu [ reply ]  
2010-06-17 19:46
It seems like webbgen has the best of what webmake (an old script by now) has. It offers the advantage of more than ettext as markup, out of the box too, as well as the neat 2-level menu.

I think I'll just get to work on prev next links. I suppose they use the same sort_info metadata

By: John Plumridge
RE: section's order of links in menu [ reply ]  
2010-06-17 19:38
WOW! works like a charm. (:

What a decent piece of machinery.

By: John Plumridge
RE: section's order of links in menu [ reply ]  
2010-06-17 19:10
Thank you Mr Leitner.

That's why webgen is so good for me. It really works with hypertext, I can see then.

( BTW. couldn't find this info in the docs and the forum messages - I shall look again at the section on meta information then).

The only other system of flat file generation that I've found that works so well with hypertext is webmake, and it really does work ( a perl script). I was considering taking a further look at htmldoc to see if it can get the job done, too... but it seems I have an elegant solution here.

Thank you.

By: Thomas Leitner
RE: section's order of links in menu [ reply ]  
2010-06-17 18:38
If the meta information sort_info is not set on a page (or on any other file), webgen defaults to using the title as sort key. So just set sort_info correctly on all pages and you are good to go. I recommend using numbers as sort_info value.

The link_attrs meta information is just for setting additional key-value pairs on generated links, it has nothing to do with how the menu gets sorted.

By: John Plumridge
section's order of links in menu [ reply ]  
2010-06-17 13:07
Hi,

Webby's navigation looks good from the start.

I'd like to order a section's links in the menu according to the document flow, and not the alphabetical order, E.g

Introduction
Bckground
An Interesting doc


I use link attributes, but it comes out alphabetical. Can it be easily achieved, and how?
I assume tab index is for order of keyboard tabbing between links?


E.g.

---
titile: Great Read
in_menu: true
link_attrs:
title: Activities
tabindex: 5