Frederick Ros wrote:
OK. Actually I tried that ... but the problem is the following: in the
skel directory I create 2 directories fr and en. Each of them contains,
for example, index.html.local ...
The main problem, is that the list of pages as build by build_pages is
something like .. 0, due to :
path_storage = storage.path_storage( File.dirname( page_name ) )
Yeah, skel's directory structure is guided by the `entries' directory
structure.
A few questions:
* Do you allow comments? Per-entry? Or per-language-entry?
* If an entry has multiple languages, is it more convenient to edit
these translations as a single file? Or separate files, side-by-side?
(i.e. entries/hobixTips.en.yaml, entries/hobixTips.fr.yaml.)
* Do you want these entries to share metadata? I mean if
hobixTips.en.yaml and hobixTips.fr.yaml share a `created' date, then you
really can't tell when you added translations of an entry. But perhaps
that doesn't matter.
William's suggestion is along the lines I'd suggest. The skel_* methods
are where transformations are supposed to happen. I would also
recommend storing the language types in the IndexEntry.
That sucks that you're having trouble with technorati. The JavaScript
switch between english and french is really cool.
_why
_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way