My b2evolution Version: Not Entered
Hi,
I'm using B2evolution for my blog, but I want to make a fancy front end in flash...
So The flash application uses the RSS feed from my blog.
That's all good, and it seems to work, except for the fact that macromedia flash can't handle any content between the <channel> ...!..</channel>
So the basic output is now:
<?xml version="1.0" encoding="iso-8859-1" ?>
- <!-- generator="b2evolution/1.9.3" -->
- <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" 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/">
- <channel>
<title>bLoGgEnDe paarden</title>
<link>http://</link>
<description />
<language>en-US</language>
<docs>http://backend.userland.com/rss</docs>
<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=1.9.3" />
<ttl>60</ttl>
- <item>
<title>test RSS</title>
<link>http://</link>
<pubDate>Tue, 17 Apr 2007 14:31:17 +0000</pubDate>
<dc:creator>Ewout</dc:creator>
<category domain="main">ode to joy</category>
<guid isPermaLink="false">/</guid>
<description>Gaan we een beetje werken of nie? check check cjeck</description>
- <content:encoded>
- <![CDATA[
<p>Gaan we een beetje werken of nie?<br />
check<br />
check <br />
cjeck</p>
]]>
</content:encoded>
<comments></comments>
</item>
- <item>
<title>test 1</title>
<link></link>
<pubDate>Wed, 11 Apr 2007 12:50:32 +0000</pubDate>
<dc:creator>Ewout</dc:creator>
<category domain="main">ode to joy</category>
<guid isPermaLink="false"></guid>
<description>test post</description>
- <content:encoded>
- <![CDATA[ <p>test post</p>
]]>
</content:encoded>
<comments></comments>
</item>
</channel>
</rss>
and I would like it to be
<?xml version="1.0" encoding="iso-8859-1" ?>
- <!-- generator="b2evolution/1.9.3" -->
- <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" 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/">
- <channel>
- <item>
<title>test RSS</title>
<link>http://</link>
<pubDate>Tue, 17 Apr 2007 14:31:17 +0000</pubDate>
<dc:creator>Ewout</dc:creator>
<category domain="main">ode to joy</category>
<guid isPermaLink="false">/</guid>
<description>Gaan we een beetje werken of nie? check check cjeck</description>
- <content:encoded>
- <![CDATA[
<p>Gaan we een beetje werken of nie?<br />
check<br />
check <br />
cjeck</p>
]]>
</content:encoded>
<comments></comments>
</item>
- <item>
<title>test 1</title>
<link></link>
<pubDate>Wed, 11 Apr 2007 12:50:32 +0000</pubDate>
<dc:creator>Ewout</dc:creator>
<category domain="main">ode to joy</category>
<guid isPermaLink="false"></guid>
<description>test post</description>
- <content:encoded>
- <![CDATA[ <p>test post</p>
]]>
</content:encoded>
<comments></comments>
</item>
</channel>
</rss>
Does anybody know where I can edit the content of the RSS feed?
I've tried to alter the _main.php allready, but then it gives me a parse error.
Thanx
Assuming you still want to keep your rss feeds :-
Make a copy of skins/_rss2/ ( call it skins/_flash/ or summat cool ). Then crack open the new copy of _main.php and delete the following sections of code :-
Save the file and upload it.
To call the file just use yourdomain.com/?tempskin=_flash or whatever cool name you picked ;)
¥