yeah that's what I'm after, a page that has the same layout as all my other
pages and in the section that changes for each page display the blog.
so if my homepage was accessible under
http://localhost/lenya/gus/live/index.html
then the blog would be accessible under
http://localhost/lenya/gus/live/blog.html
and it would share the same css, and layout as the index.html.
If it's a pain don't worry about it.
Thanks
Angus
From: Michael Wechner <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Syndicating Atom feed onto lenya publication
Date: Tue, 29 Nov 2005 09:51:56 +0100
Angus Smithson wrote:
Not even sure I've got the terminology right but basically I have set
up a test blog at blogger.com and I am sort of lost in the docs.
Basically was just wondering how I should go about displaying the feed
on my lenya publication. Even just a point in the right direction
would be great.
I'm using lenya 1.2.4
http://gustesttesttest.blogspot.com/atom.xml
you could pull it either by
<map:generate src="http://gustesttesttest.blogspot.com/atom.xml"/>
I'm still not sure, into which file would this go then how would I use
it on a document in my publication?
if it's the default publication, then it would go in
.../pubs/default/doctypes.xml
HTH
Michi
Sorry, I'm totally lost, maybe lenya isn't for me?
I don't think so ;-) but I agree it's not obvious at first sight (and I am
not proud of it)
Just to clarify: You woukd like to have something
/lenya/default/authoring/foo/bar/sam_ruby.html
whereas sam_ruby would be the Atom/RSS feed from Sam Ruby's blog, right?
Michi
I've tried to follow the "Custom Resource Type How-To" at
http://lenya.apache.org/1_2_x/how-to/custom_resourcetype.html
have ended up doing this but everything is broken now, if I'm a lost cause
then just say but if I'm nearly there then any help would me much
appreciated.
I have started off with the default publication btw.
In config/doctypes/doctypes.xconf
I have added:
<doc type="blog">
<children>
<doc type="xhtml"/>
</children>
<creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
<sample-name>blog.xml</sample-name>
</creator>
<tasks>
<task id="publish"/>
</tasks>
<workflow src="workflow.xml"/>
</doc>
I have not created a schema yet
In parameter-doctype.xmap
I have added the following in map:components:
<map:action logger="sitemap.action.sourcetype" name="sourcetype"
src="org.apache.cocoon.acting.sourcetype.SourceTypeAction">
<sourcetype name="blog">
<document-element namespace="http://www.w3.org/1999/xhtml"/>
</sourcetype>
<sourcetype name="links">
<document-element
namespace="http://apache.org/lenya/pubs/default/1.0"/>
</sourcetype>
</map:action>
the other stuff I have just copied other documents, I really have no clue
what I'm doing and can't find a tutorial in the wiki relating to what I'm
doing or how to get my head round lenya.
Thanks
Angus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]