I’m trying to have a separate page on my site that will display a handful of categories only. I was hoping to be able to offer rss feeds for just the entries that appear on this new page. (It’s an index.php in a subdirectory.) However, there’s a chunk of code in the header that won’t load in any browser. I take it out and the page loads fine. The catch? This bit of code seems to be the part that builds all the cool RSS stuff–then again, I could be wrong–I’m still figuring a lot of this stuff out.
Here’s the code that gums up the works:
<link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
My guess is that this is required for me to provide an RSS feed for this page.
Check out the gummed up page here:
Here’s how it supposed to look:
Any theories would be greatly appreciated. Thanks in advance!
- The topic ‘RSS syndicate using old URI structure’ is closed to new replies.