opensubscriber
   Find in this group all groups
 
Unknown more information…

w : webmake-talk@taint.org 11 September 2005 • 10:31AM -0400

[WM] accessing meta data from perl
by John Jones

REPLY TO AUTHOR
 
REPLY TO GROUP




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

_______________________________________________
WebMake-Talk mailing list
WebMake-Talk@tain...
http://webmake.taint.org/mailman/listinfo/webmake-talk

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.