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]