Can I create an RSS feed from a page on my own WordPress blog site?
-
I am using a WordPress blog for a course I am teaching. Students post about news stories, which they categorize as “NEWS”. I tried to create an RSS feed (using the RSS widget) on the home page which would show all the NEWS posts. I thought this would work because, when I click on the NEWS category, the page with all the news stories has an RSS symbol in the URL address bar. I used this feed address in the widget.
Although the rss feed to NEWS shows up on the home page, where I put the widget, no titles show up underneath. Instead I get the following error message: “An error has occurred; the feed is probably down. Try again later.” I’ve only ever gotten this error (for over a week), so I don’t think it’s the case that the feed is down.
Any suggestions? Is this possible?
Thank you!
The blog I need help with is: (visible only to logged in users)
-
-
Thanks for the swift reply. Unfortunately I assured my students this would be a private blog, accessible only to its authors. I was hoping to get some advice or insight about the possibility of doing this given people’s knowledge of WordPress more generally.
-
OK, then all I can do is guess and reply generally.
Only blogs set to public have RSS feeds. Private blogs do not since there is no way to secure RSS feeds.
-
This makes sense. I was hoping I could get around something like this since the feed remained “internal” to the blog.
Thank you.
-
Do you happen to know of any widgets that display post titles associated with a particular category or tag?
-
Not that would display only a certain category or tag, no.
You could create a prominent link to the “news” category using a text widget. Perhaps make the text a different color and larger.
-
Would this work for you, kdietz?
http://csswiz.wordpress.com/2009/10/13/feed-your-cats-and-tags/
-
In a text widget, try the following code
[code]
<div width="100%">
<?php
// (below) showposts = how many post titles to show, cat = the category ID number for your news category
query_posts('showposts=3&cat=376');
?>
<?php while (have_posts()) : the_post(); ?>
<div>
" rel="bookmark" class="title">
<?php // titles of the articles get printed
the_title();
?>
</div>
<?php endwhile; ?>
</div>[/code]
Works for me on a self hosted blog – if you can’t get it to work in a text widget, embed it direct into your sidebar.php file outside of the dynamic sidebar loop (works best above that).
You get the category ID number in your admin side categories page by hovering over the category name with your mouse, and looking to the bottom left of your browser in the status bar – you’ll see the URL come up with the category number in the URL.
Gaz
-
@gazouteast, this is the wordpress.COM hosting service, and we cannot use script due to security concerns. Your solution would only work for a self-hosted wordpress installation.
If you do not know the difference between wordpress.COM and wordpress.ORG, see this support document: http://support.wordpress.com/com-vs-org/ .
-
my feed URL now is http://bangiau.com/index.php/feed
how to change to http://bangiau.com/feed. Thanks
- The topic ‘Can I create an RSS feed from a page on my own WordPress blog site?’ is closed to new replies.