Hi
All I want to do is have a link on my webpage called 'latest research update' that links to the latest post tagged 'research_update'.
I have tried the following:
1. Writing an sql command to get the latest posts url (this was harder than I thought and I abandoned it)
2. Parsing the feedburner feed to get the url of the top story (this worked to some extent but means that I have to turn off click-through tracking unless I want all clicks of this link to be recorded through feedburner, also it seems unduly slow)
3. Now trying to parse the default wordpress feed. If I put the feed url direct into the browser:
http://blog.domain.tld/category/research_update/feed
I get the contents of the feed (as displayed in the browser), but if I try to parse the feed, using php like so:
$fp = fopen( "http://blog.domain.tld/category/research_update/feed/", "r" )
or die( "Cannot read RSS data file." );
This gives the error "Cannot read RSS data file."
What is the easy way to do this? Can you point me in the right direction already?
Thanks
Ed