NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Is there an API or data feed to get threads from this forum? I'm looking to research themes in the discussions here and would thus like to collect some info in volume. Is there a fast/approved way to do this, or should resort to scraping?

Aside, I'm mindful of privacy - the identities of participants are not of interest other than their degree of interactions (i.e. like the karma stats). The work is for WebSci research rather than private use/gain.

Thanks.

asked 12 Aug '14, 14:54

mwra-uk's gravatar image

mwra-uk
26112
accept rate: 0%

edited 12 Aug '14, 21:57

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

1

The site runs OSQA, so it might be worth asking in forums there about any kind of export mechanism. If there is, it might be worth talking to the site admins to see if such an export could be facilitated. How to do all this would be extremely useful to have documented for the time when we're ready to throw OSQA under a bus and move to something with better anti-spam controls and a decent search facility :-) .

(12 Aug '14, 15:01) SomeoneElse ♦

Sure - happy to give feedback if I find a way. I have asked on OSQA forum. Looks like the non-pro version has no API, but I'll update if I get an answer.

(12 Aug '14, 15:11) mwra-uk

I guess you need to crawl it on your own, or you might ask the admins or OSMF to run prepared queries on the DB (guess they won't do). Would be interesting if you list/pubish your results at research page

(12 Aug '14, 18:07) iii
3

I asked politely on OSQA's meta forum on 12 Aug 14:

~~~~~~~~~~~~~~~

I'd like to get lots of threads from a forum using OSQA. Is there any way to read data directly as JSON, XML or whatever. If not is there a best way to scrape OSQA data - ideally so as not to inconvenience others. I only need to do the sample once (pending any follow up) - it's not a constant process.

~~~~~~~~~~~~~~

After an age in 'moderation' the question has now been rejected without explanation. Bottom line, I guess they don't want to help.

Meanwhile I'm trying Import.io - if I get a solution I will of course share.

(21 Aug '14, 12:27) mwra-uk

There is an RSS feed for all questions and one for each question/comment feed. Deriving the individual answers feed from the individual question links in the main RSS seem to just be be the addition of "?type=rss&comments=yes" to the link in the main feed.

So it seems you may be able to get "published" versions of all this information in an easily processed format.

I haven't read the Terms of Service recently though, so I have no idea if this is officially permitted.

permanent link

answered 24 Aug '14, 10:12

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

As it shows at the footer of this page, the content is creative commons, so no problem :-)

(24 Aug '14, 18:12) iii
1

The RSS only gives me the last 30 topics. Regardless of sort type chosen for the web page the RSS seems to be the 30 most recently added/answered topics. The RSS feed does seem to accept pagination, e.g. &page=2 or &p2 both have no effect on the base feed.

(24 Aug '14, 18:56) mwra-uk

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×230
×100
×58
×34
×3

question asked: 12 Aug '14, 14:54

question was seen: 19,715 times

last updated: 24 Aug '14, 18:56

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum