Posts with the "hack" tag

WordPress.com – Hack? Strange Messages

Another geeky post (again), but these are pages from WordPress.com this afternoon…

This can’t be right can it? Is it a joke or what? What happened here WP.com!!

How to use WordPress RSS Feeds – URL hacks

WordPress is a pretty amazing platform from which to run your website. In today’s world, especially if your website content is popular, it is not just common but expected to have RSS feeds available from that site. These allow you to distribute your information over various platforms, some automated, some not, and for readers to easily get hold of your news items quickly.

Yet, despite this some websites still do not provide this service. If you have your site built on WordPress, or even just the news section, RSS feeds are just so so easy to create with a little URL-hacking. Here’s what you can do…

Main site feed – http://yoursite.com/feed
How easy it that!!
Eg – http://robparker.org.uk/feed

Comments feed from all news items – http://yoursite.com/comments/feed
Eg – http://robparker.org.uk/comments/feed

Comments feed for individual posts – http://yoursite.com/(post-url)/feed
I’ve put in post-url because you can have different choices of how you have your post URL, such as ?p=345 or /year/month/day/custom-url
Eg – http://robparker.org.uk/2009/02/16/its-sunny-in-february/feed

Feed for categories – http://yoursite.com/category/(category-slug)/feed
You can find the category-slug by going to http://yoursite.com/wp-admin/categories.php
Eg – http://robparker.org.uk/category/general/feed

Feed for tags – http://yoursite.com/tag/(tag-slug)/feed
You can find the tag-slug by going to http://yoursite.com/wp-admin/edit-tags.php
Eg – http://robparker.org.uk/tag/bbc/feed

Feed for authors – http://yoursite.com/author/(author-slug)/feed
Eg – http://robparker.org.uk/author/admin/feed

Combination feeds for categories, tags and authors
You can add multiple tags together to get custom feeds, and you can also add categories together and authors together. You basically start with the same structure as above, and then you can put a + and then the category, tag or author slug after it – no spaces though!

http://yoursite.com/tag/(tag-slug1)+(tag-slug2)/feed

http://yoursite.com/author/(author-slug1)+(author-slug2)/feed

Although I’m not sure, it looks like the number of addition tags/categories/authors you use is limitless!
Eg – http://robparker.org.uk/tag/amazon+books+orwell/feed/

And for all of the above, removing the /feed will give you a page of the results too. Another brilliant set of tricks from WordPress! Enjoy!