[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: A community project, blogging.

Subject: Re: A community project, blogging.
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Sun, 12 Jun 2005 11:55:36 +0100
dave pawson
I'm having fun with the outline process.
So far:

Clean directory with nothing other than atom xml content.

Single file, feed.xml , no entries within it.
Has the atom:feed element, and all feed metadata.
As if I were to include entities, one for each entry.

Then each day, or whatever, I write an entry, with wrapper atom:entry

That goes in a file, lets say I duplicate naming by naming
todays blog 20050612.xml 

So my index process collates, all entries, resolving dates by filename
(or metadata
if you don't like using the filenames).
Each gets a link in the index frame (or toc).

Then my content process picks out the most recent n by date, 
sets up the HTML wrapper, then uses the feed.xml
to generate a heading for the blog,
then recurses through the recent entries, generating a div
and content for each one. 
(Note: the atom:summary element could be used to generate
a far more brief outline, with link to a separate full html file....)

Which leaves a messy link between the index and the entries.
Fails to make use of the atom:summary, and isn't good ... yet.



-- 
Regards, 

Dave Pawson
XSLT + Docbook FAQ
http://www.dpawson.co.uk

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.