External Pages Question - RSS enhancement
Posted: Wed Feb 03, 2010 5:34 pm
I successfully got the external pages "mod" working using battye's instructions. Works great and can be found here:
http://www.mcadforums.com/rss.php (needs some cleaning up, not done yet).
So I decided to take it a step further and use this same code to create an RSS feed (phpbb's built in feeds will pull every reply, I only want the first post in a topic)
So I used the same code in the php file (as in the example above) but changed the template file to look like this:
Problem is, there does not seem to be any NEW items being generated. If you place this url in your browser:
http://www.mcadforums.com/mcadrss.php
You'll see no content. But then add it to Google reader and you'll notice there is content there. But for some reason aggregators are not picking up on any new posts. (I'm using twitterfeed to feed posts from a rss stream to a twitter account)
Any ideas?
http://www.mcadforums.com/rss.php (needs some cleaning up, not done yet).
So I decided to take it a step further and use this same code to create an RSS feed (phpbb's built in feeds will pull every reply, I only want the first post in a topic)
So I used the same code in the php file (as in the example above) but changed the template file to look like this:
Code: Select all
<?xml version="1.0" encoding="windows-1252"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>mCADForums.com News Feed</title>
<description>mCADForums.com News Feed</description>
<link>http://www.mcadforums.com</link>
<language>en</language>
<copyright>mCADForums.com</copyright>
<generator>mCADForums.com</generator>
<ttl>30</ttl>
<atom:link href="http://www.mcadforums.com/mcadrss.php" rel="self" type="application/rss+xml" />
<!-- BEGIN announcements -->
<item>
<title>{announcements.TOPIC_TITLE}</title>
<description>{announcements.POST_TEXT}</description>
<link>{announcements.POST_LINK}</link>
<pubDate>{announcements.POST_DATE}</pubDate>
</item>
<!-- END announcements -->
</channel>
</rss>
http://www.mcadforums.com/mcadrss.php
You'll see no content. But then add it to Google reader and you'll notice there is content there. But for some reason aggregators are not picking up on any new posts. (I'm using twitterfeed to feed posts from a rss stream to a twitter account)
Any ideas?