feature request
nelson
kascote at gmail.com
Sun Aug 19 13:05:07 EST 2007
Hi Jeff,
> Consider a config file that includes this configuration:
>
> template_files = index.html.tmpl atom.xml.tmpl
>
My problem with that setup is that index.html and atom.xml process
*all* the same feeds.
With the tags I want that index.html process 8 feeds and atom.xml only
2 feeds, and have 1 configuration file where are 10 feeds defined.
--
:: Nelson ::
On 8/18/07, Jeff Waugh <jdub at perkypants.org> wrote:
> <quote who="nelson">
>
> > The whole idea is to have only one config file that can generate multiple
> > outputs.
>
> Consider a config file that includes this configuration:
>
> template_files = index.html.tmpl atom.xml.tmpl
>
> All you need to do to generate "list.inc" as another output file is:
>
> template_files = index.html.tmpl atom.xml.tmpl list.inc.tmpl
>
> Then write a template file. I quite like having a simple HTML list of posts
> that I can include elsewhere as a sidebar or whatever:
>
> <ul>
> <TMPL_LOOP Items>
> <TMPL_IF title>
> <li>
> <a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a>
> </li>
> </TMPL_IF>
> </TMPL_LOOP>
> </ul>
>
> - Jeff
>
> --
> GNOME.conf.au 2008: Melbourne, Australia http://live.gnome.org/Melbourne2008
>
> "The FFF policy: File a bug, Fix it, or F*ck off." - pwhysall on
> gnomedesktop.org
>
More information about the devel
mailing list