Juan Jose Pablos schrieb:
> Stephan E. Schlierf escribió:
>
>>
>> Yes - and the problem is: If I do a "forrest run" everything seems to
>> be o.k. Sorry, not everything: the menue entries aren't displayed but
>> something like "http://localhost:8888/project.html" or
>> "http://localhost:8888/project.pdf" works; that means, shows a
>> complete html-/or pdf-site.
>> Meanwhile I tried both:
>> - using a project.xmap as I told below and
>> - using the aggregate.xmap, called by the "site"-pipeline in
>> sitemap.xmap.
>> The results are all the same:
>> - no menu entries
>> - works with forrest run as described below.
>> But I need to generate static sites...
>>
>> TIA,
>> Stephan
>
>
> Try to add a @label on the element like:
>
> <all label="All">
> <whole_site_html label="Whole Site HTML" href="site.html"/>
> <whole_site_html label="Whole Site PDF" href="site.pdf"/>
> </all>
>
>
> That should work.
I have something like this:
<site label="foo" href="" xmlns="http://apache.org/forrest/linkmap/1.0">
<first_element label="Who we are" href="" tab="foo2">
<acme label="ACME Software Foundation" href="index.html"/>
<all label="Have a look">
<whole_site_html label="HTML-page" href="site.html"/>
<whole_site_html label="PDF-file" href="site.pdf"/>
</all>
</first_element>
...
</site>
Unfortunately, this does not work - no menue entries are shown, no files
are generated.
Any ideas?
TIA,
Stephan
|