put another section in there…got it working…changed it back to the calendar…stopped working again…
I’m honestly STUMPED!
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
September 15, 2009 12:42pm
Subscribe [4]#16 / Sep 15, 2009 5:29pm
put another section in there…got it working…changed it back to the calendar…stopped working again…
I’m honestly STUMPED!
#17 / Sep 15, 2009 7:08pm
okay, the code Ingmar gave you. Can you put ONLY that in a bare, blank template. no other markup or html whatsoever.
{exp:weblog:entries weblog="calendar" show_future_entries="yes" show_expired="yes" status="not Closed"}
{title}
{/exp:weblog:entries}put it in that test template you linked to above, but only that code.
-greg
#18 / Sep 15, 2009 7:15pm
#19 / Sep 15, 2009 7:19pm
okay, let’s take the base rss template, and only change the weblog name, and the opening weblog entries tag:
{assign_variable:master_weblog_name="calendar"}
{exp:rss:feed weblog="{master_weblog_name}"}
<?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/">
<channel>
<title>{exp:xml_encode}{weblog_name}{/exp:xml_encode}</title>
<link>{weblog_url}</link>
<description>{weblog_description}</description>
<dc:language>{weblog_language}</dc:language>
<dc:creator>{email}</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="http://expressionengine.com/" >
{exp:weblog:entries weblog="{master_weblog_name}" limit="10" rdf="off" dynamic_start="on" disable="member_data|trackbacks" show_future_entries="yes" show_expired="yes" status="not Closed"}
<item>
<title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
<link>{title_permalink=site/index}</link>
<guid>{title_permalink=site/index}#When:{gmt_entry_date format="%H:%i:%sZ"}</guid>
<description>{exp:xml_encode}{summary}{body}{/exp:xml_encode}</description>
<dc:subject>{exp:xml_encode}{categories backspace="1"}{category_name}, {/categories}{/exp:xml_encode}</dc:subject>
<dc:date>{gmt_entry_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
</item>
{/exp:weblog:entries}
</channel>
</rss>
{/exp:rss:feed}Toss that into the template & switch the template type to rss.
-greg
#20 / Sep 15, 2009 7:25pm
how do you change the template type on a template that’s already created?
#21 / Sep 15, 2009 7:50pm
Okay…found how to do that…got it done.
#22 / Sep 15, 2009 7:51pm
tested in Safari RSS reader, and still get “this feed has no entries”.
#23 / Sep 15, 2009 9:08pm
Did you make any changes from the code in my previous post to what you put in the template?
#24 / Sep 15, 2009 9:15pm
I didn’t change it at all…just cut and pasted.
Is there ANYTHING else this could be? I really don’t get it. I’ve been poring over the settings and can’t find anything out of the ordinary.
#25 / Sep 15, 2009 9:52pm
what extensions are you running?
Do you have anything in a .htaccess file?
#26 / Sep 15, 2009 11:14pm
using the LG SAEF plugin…
no .htaccess file
looks like Magpie RSS Parser is in the plugins…
character limiter, word limiter, xml encode and randomizer plugins…
#27 / Sep 16, 2009 1:38am
Doy,
It doesn’t look like the code provided by Greg is actually appearing in that test template.
Can you double check that please?
Also lets try and clear your cache. FTP into system/cache and delete all the folders except for index.html
#28 / Sep 16, 2009 8:36am
It’s all there…from the variable call to the end of the exp:rss:feed tag…
I cleared the cache, too.
I tried in Safari and it still doesn’t work.
Thanks for all your patience with this, guys! The thing that kills me about this is that I have a businesses section where the rss feeds are all working fine!
#29 / Sep 16, 2009 9:07am
How do the two feeds differ?
#30 / Sep 16, 2009 9:11am
The businesses feed is essentially the same, except for the master weblog name, and I’ve added a specific category to call for the different categories within businesses.
{assign_variable:master_weblog_name="businesses"}
{exp:rss:feed weblog="{master_weblog_name}"}
<?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/">
<channel>
<title>{exp:xml_encode}{weblog_name}{/exp:xml_encode}</title>
<link>{site_url}</link>
<description>{weblog_description}</description>
<dc:language>{weblog_language}</dc:language>
<dc:creator>{email}</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="http://expressionengine.com/" >
{exp:weblog:entries weblog="{master_weblog_name}" rdf="off" dynamic_start="on" disable="member_data|trackbacks" category="36"}
<item>
<title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
<link>{title_permalink=businesses/page}</link>
<guid>{title_permalink=businesses/page}#When:{gmt_entry_date format="%H:%i:%sZ"}</guid>
<description>{exp:xml_encode}{busreg-phone}{busreg-description}{/exp:xml_encode}</description>
<dc:subject>{exp:xml_encode}{categories backspace="1"}{category_name}, {/categories}{/exp:xml_encode}</dc:subject>
<dc:date>{gmt_entry_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
</item>
{/exp:weblog:entries}
</channel>
</rss>
{/exp:rss:feed}