Creating RSS Feeds

You can build an RSS feed off of individual categories automatically in WordPress.

To get RSS feed URLs in WordPress:

  • Go to Articles > Categories in the site admin
  • Find the category you want and click “edit”
  • Look at the URL on the page and find the category ID, which is the number after “tag_ID=” in the URL

Say, for example, you want an RSS feed for your “Sports” category. When you click to edit the category you in the admin, you’ll see a URL like below. Right in the middle, after the “tag_ID=” is the category number, in this case “6.”

https://broadcast-demo.rayoscms.com/wp-admin/term.php?taxonomy=category&tag_ID=6&post_type=post&wp_http_referer=%2Fwp-admin%2Fedit-tags.php%3Ftaxonomy%3Dcategory

Now with this number, you can build the RSS feed for any category. Just replace the category ID number at the end of this URL to get the RSS feed.

URL: https://broadcast-demo.rayoscms.com/feed/?cat=6

If you would like to add multiple categories to your RSS feed, you will add the additional category IDs to the URL string separated by a comma.

URL: https://broadcast-demo.rayoscms.com/feed/?cat=103,cat=119,cat=124

Creating RSS Video Feeds

You can create an RSS feed that includes the 50 most recent videos included in the articles. To do this, follow the above steps to find create an RSS feed URL. Now, at the end of that URL append “&M3U8link=true&videoonly=true”. Adding this to the above RSS feed of sports articles, it will now be limited to the 50 most recent videos.

URL: https://broadcast-demo.rayoscms.com/feed/?cat=6&M3U8link=true&videoonly=true