Hello,
I have an RSS feed which isnt quite right, but the first issue is this error:
XML Parsing Error: prefix not bound to a namespace
Location: <a href="http://ee.domain.dev/rss/recipes">http://ee.domain.dev/rss/recipes</a>
Line Number 1, Column 1:<ee:last_update>1350509193</ee:last_update>That line is
<ee:last_update>1350509193</ee:last_update>This is a file of the type XML in a template group called RSS and the template name is recipes, giving me recipes.xml to edit.
How do I make it so I can access the rss as domain.com/rss/recipes.xml as atm I can only access it as domain.com/rss/recipes
—-
Issue 2
This is the code for the recipes.xml
{exp:rss:feed channel="recipes" debug="yes" status="open"}
<?xml version="1.0" encoding="{encoding}"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="http:" rel="self" type="application/rss+xml" >
<title>Title</title>
<link>{site_url}recipes</link>
<description>YOUR DESCRIPTION</description>
<dc:language>{channel_language}</dc:language>
<dc:creator>[email protected]</dc:creator>
<dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
<dc:date>{gmt_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
<admin:generatorAgent rdf:resource="{site_url}" >
{exp:channel:entries channel="recipes" limit="10" dynamic_start="on" disable="member_data"}
<item>
<title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
<link>{site_url}recipes/{category_url_title}/{url_title}</link>
<guid>{site_url}recipes/{category_url_title}/{url_title}#When:{gmt_entry_date format="%H:%i:00Z"}</guid>
<description><![CDATA[{description}]]></description>
<dc:date>{gmt_entry_date format="%Y-%m-%dT%H:%i:00%Q"}</dc:date>
</item>
{/exp:channel:entries}
</channel>
</rss>
{/exp:rss:feed}However, the description field is not output, its blank, description is a field that is part of a specific recipe, (as in a content item inside the recipes template system.
How do I make {description} pull in that field?
Any general feedback on that code?
Last issue; how do I add a comment form to the bottom of a content entry! This is probably really simple, but I cannot find a tutorial for this on EE2!
The comment would appear inside this tag, so I want a form field when they are logged in, showing them they can reply to a comment, disqus style - but I dont want to use disqus!
{exp:channel:entries channel="recipes" url_title="{segment_3}" limit="1"}
Loads data just fine from content like {description}
{/exp:channel:entries}The site is getting close to going live, and loads of work has been done, so I am excited to become a full member of the community! I have a few companies I consult for, considering EE now!
Many thanks for reading!