11

I'm looking for a way to let my students browse StackOverflow, Superuser and other StackExchange sites from within our inner network (internet connection is not an option).

I'm currently downloading StackExchange data dump, when the final target is to let my students open it inside our inner network using http://stackoverflow/ or similar.
(We did the same thing with wikipedia, and it worked wonderfully.)

Question is - How do I create a real mirror out of the dump? Is that even the right way to do this?
If it's not, is there a way to create a mirror of StackOverflow inside my inner network (other than using a spider/crawler to cache HTML pages)?

(Maybe the Data Explorer can help me read these XMLs somehow?)

8
  • 1
    The data dump contains only public data. And you don't have an logic coming with it.
    – juergen d
    Commented Apr 19, 2013 at 10:26
  • I see.. Do you know an easy way to cache and mirror SO? I think that would help not only me, but many other academic places that don't have direct internet connection
    – Omer Perry
    Commented Apr 19, 2013 at 10:32
  • 1
    You can't just copy a dynamic website like SO. You don't have access to the server side logic which is huge.
    – juergen d
    Commented Apr 19, 2013 at 10:37
  • Point is, I don't even need the server side logic (posting comments, asking questions, earning badges etc.) - I just need the information in some readable format. On the other hand, I don't have the time nor the resources to write a view over the XML files - and a mirror would solve it pretty easily...
    – Omer Perry
    Commented Apr 19, 2013 at 10:39
  • 2
    This looks hopeful: meta.askubuntu.com/questions/708/… Found with the google query "stack exchange data dump viewer" (no qoutes) Commented Apr 19, 2013 at 10:52
  • @juergend, What does "don't have an logic coming with it" mean?
    – Pacerier
    Commented Aug 20, 2015 at 21:18
  • @Pacerier: It means you only get the pure data. But not the code that builds the website.
    – juergen d
    Commented Aug 20, 2015 at 23:45
  • @juergend, Uhm, isn't that obvious?
    – Pacerier
    Commented Aug 21, 2015 at 11:44

3 Answers 3

4

I did a quick search and found something that looks like a good starting point:
StackExchange Data Dump Viewer - A Desktop Tool for Viewing the StackExchange Data Dumps

Found with the google query stack exchange data dump viewer

1
  • Found this with the google query stack exchange data dump viewer
    – Tiefan Ju
    Commented Sep 27, 2019 at 16:10
2

After having some research done, I found that amazing program called Stackdump.

I deployed it on my ubuntu, followed the README and ran it on diy.stackoverflow.com, it worked just as expected (had to fix a typo in the script - Comments.xml instead of comments.xml, etc.)

To whom of you that wants to deploy a web server for browsing StackExchange data offline - it seems like the perfect solution. You are more than welcome to ask me for any further instructions :)

0

Dash announced that they use the Stack Overflow data dump to view SO offline.

You must log in to answer this question.

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