[WM] accessing meta data from perl
John Jones
jj at asu.edu
Sun Sep 11 03:31:41 IST 2005
Hi,
I have been trying to convert a site to use webmake. It looked like a
good option since I could have a single webmake file which accesses a
single template file, and then put the content for each page in a
separate file.
The content is more involved than just a title and part of the body. It
looked like webmake would be able to do what I want if I set various
things through metadata tags with names I made up. Now, if I set
metadata with names like special1, special2, special3, ... then to
handle it in the template file, I thought I could use the perl construct
to process it.
The examples directory shows how you can fetch a list of content names
and then work with them in a perl section. My question is, can I do
something similar with metadata? In particular, I would like a perl
section in a template to be able to determine what metadata values are
defined, and then access their values.
John
More information about the WebMake-Talk
mailing list