What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

How can I get "useful" count and "accepted answer" in the Stack Overflow RSS feed?

Any pointers are highly appreciated!

share|improve this question
    
Can you provide the URL for the RSS feed? –  Peter Mortensen Oct 9 '11 at 18:21
    
What are you going to use it for? –  Peter Mortensen Oct 9 '11 at 18:21

1 Answer 1

up vote 3 down vote accepted

Presuming by “useful” count is meant votes, and some tag RSS feed, yes, this information is in the re:rank tag, 0 votes for the below example question with an accepted answer. However the information about an accepted answer is not available and must be obtained by some other means, e.g. screen scraping or through the Stack Exchange API.

As an alternative you might be able to use Stack2RSS. Samples: RSS feed for unanswered questions and RSS feed for a user's answers.


Start of the entry for Get my own IP address:

<entry>
    <id>http://stackoverflow.com/questions/5700455/get-my-own-ip-address</id>
    <re:rank scheme="http://stackoverflow.com">0</re:rank>
    <title type="text">Get my own IP address</title>
    <category scheme="http://stackoverflow.com/feeds/tag?tagnames=c/tags" term="c"/><category scheme="http://stackoverflow.com/feeds/tag?tagnames=c/tags" term="linux"/><category scheme="http://stackoverflow.com/feeds/tag?tagnames=c/tags" term="networking"/>
    <author>
        <name>michelemarcon</name>
        <uri>http://stackoverflow.com/users/15173</uri>
    </author>
    <link rel="alternate" href="http://stackoverflow.com/questions/5700455/get-my-own-ip-address" />
    <published>2011-04-18T08:44:52Z</published>
    <updated>2011-04-18T10:35:08Z</updated>
    <summary type="html">
        &lt;p&gt;If I use &lt;code&gt;getHostByName()&lt;/code&gt; I only get &quot;127.0.0.1&quot;, because it is written on /etc/host, but this is not useful to me.&lt;/p&gt;
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .