You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Jeff Turner <je...@apache.org> on 2003/06/09 15:46:19 UTC
Aggregated pages
God Save the Queen, and may she have many more public-holiday-celebrated
birthdays ;)
I spent today adding whole-site-in-one-PDF support to Forrest. You'll
see there are two new entries at the bottom of the menu:
http://forrestbot.cocoondev.org/sites/xml-forrest/index.html
(0.5mb each; please be kind with Steven's bandwidth)
It should also be pretty simple now to aggregate arbitrary sets of
documents. For instance, we could have a HTML/PDF containing all the
pages in one tab. Another thing I'd like to try is URL-defined
aggregations, so:
http://localhost:8888/index,primer,faq.pdf
Gives you a PDF containing content from index.xml, primer.xml and
faq.xml.
The trickiest bit of aggregation is getting the links right. In our
fictional index,primer,faq.pdf file, links from index to primer must be
internal links, but links from index to any other non-included page are
external. This is where 'site:' linking is useful, as depending on the
linkmap used, 'site:primer' becomes:
http://localhost:8787/forrest/primer.html (external link from PDF)
or:
#primer.html (internal link in PDF/HTML)
or:
primer.html (external link in HTML)
I think I have got it right, but if you encounter any oddities please let
me know.
There are a few things that need cleaning up still. The aggregated page
title needs to be obtained from somewhere (skinconf.xml I guess), as does
the base URL for external links from PDFs, which is currently
'http://localhost:8787/forrest'. The community/howto/* pages break in
the CLI for some reason I haven't worked out yet. Then the aggregation
system and @tab tab systems need documenting.
--Jeff
Re: Aggregated pages
Posted by Marc Portier <mp...@outerthought.org>.
another piece of fine art...
great work.
-marc=
Jeff Turner wrote:
> God Save the Queen, and may she have many more public-holiday-celebrated
> birthdays ;)
>
> I spent today adding whole-site-in-one-PDF support to Forrest. You'll
> see there are two new entries at the bottom of the menu:
>
> http://forrestbot.cocoondev.org/sites/xml-forrest/index.html
>
> (0.5mb each; please be kind with Steven's bandwidth)
>
> It should also be pretty simple now to aggregate arbitrary sets of
> documents. For instance, we could have a HTML/PDF containing all the
> pages in one tab. Another thing I'd like to try is URL-defined
> aggregations, so:
>
> http://localhost:8888/index,primer,faq.pdf
>
> Gives you a PDF containing content from index.xml, primer.xml and
> faq.xml.
>
> The trickiest bit of aggregation is getting the links right. In our
> fictional index,primer,faq.pdf file, links from index to primer must be
> internal links, but links from index to any other non-included page are
> external. This is where 'site:' linking is useful, as depending on the
> linkmap used, 'site:primer' becomes:
>
> http://localhost:8787/forrest/primer.html (external link from PDF)
>
> or:
>
> #primer.html (internal link in PDF/HTML)
>
> or:
>
> primer.html (external link in HTML)
>
> I think I have got it right, but if you encounter any oddities please let
> me know.
>
> There are a few things that need cleaning up still. The aggregated page
> title needs to be obtained from somewhere (skinconf.xml I guess), as does
> the base URL for external links from PDFs, which is currently
> 'http://localhost:8787/forrest'. The community/howto/* pages break in
> the CLI for some reason I haven't worked out yet. Then the aggregation
> system and @tab tab systems need documenting.
>
>
> --Jeff
>
--
Marc Portier http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at http://radio.weblogs.com/0116284/
mpo@outerthought.org mpo@apache.org