Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End RSS Feed with Altered Images Reply To: RSS Feed with Altered Images

#167714
kingkool68
Participant

Sounds good glad it worked out.

The add_feed() function is a great way to add different formats of your content. I’ve added special XML versions of a post that could be ingested into a library database to spitting out a JSON version to even rendering a plain text version.

For example, take this URL: http://www.people-press.org/2014/04/02/americas-new-drug-policy-landscape/

You can show it as json by adding /json/ to the end of it (http://www.people-press.org/2014/04/02/americas-new-drug-policy-landscape/json/) or a plain text version by adding /plain/ to the end of it (http://www.people-press.org/2014/04/02/americas-new-drug-policy-landscape/plain/) I don’t have this live anywhere but I also made a Star Wars feed to render a post just like the opening credits of every nerds favorite Sci-Fi film. This was based on this pen http://codepen.io/TimPietrusky/pen/eHGfj