13

Is it allowed to download mathematica.stackexchange.com/questions or chats for offline reading?

If so, how could that be done automatically with Mathematica code?

migrated from mathematica.stackexchange.com Dec 21 '16 at 13:54

This question came from our site for users of Wolfram Mathematica.

8

There is a link to the content license at the bottom of every page.

There is a sanctioned "data dump" at https://archive.org/details/stackexchange

You can download the file for Mathematica at https://archive.org/download/stackexchange/mathematica.stackexchange.com.7z

See also https://data.stackexchange.com

  • Very interesing. Is there something similar for the chat ? – andre314 Dec 29 '16 at 13:17
  • Not that I am aware of. @andre – Mr.Wizard Dec 29 '16 at 14:59
5

Yes, it is permitted. But why write Mathematica code to do it? Why not just use tools provided by your internet browser. AFAIK every browser has such tools. I use Safari on OS X and it certainly does because I quite often use them.

Are you considering something like scraping the whole site on a daily basis?

  • I wrote a SE API connection in Mathematica so I can get question info and such automatically and I needed import tools so I could pull down page info. It's also useful when people have dumped info in an answer, such as the ones on FE tokens. In terms of automatically trawling the site, I can see the use for chat rooms and things which update often (and have actually written some of that code too). – b3m2a1 Dec 23 '16 at 17:28
4

I've created a prerelease alpha SE paclet that can be used to view a Stack Exchange question. It is located at:

https://github.com/carlwoll/Stack-Exchange-Stylesheet/releases/tag/v0.1-alpha

Download the .paclet file, and then run:

PacletInstall[file]

To use, do:

<<StackExchange`
StackExchangeView["http://mathematica.stackexchange.com/questions/124583/is-anonymous-pure-function-a-scoping-construct#140256"]

It is also possible to use style key tabbing (tab at the start of a cell), shift-enter and right click to modify "StackExchange" styled cells to a markdown version, a hybrid WYSIWIG version, or a deployed version. Feed back is welcomed.

  • Very fun. I think WRI should really write a general XMLObject to Notebook converter (I say this because I notice the headers in, e.g., this don't actually get handled). Also I wrote a general SE api connection in Mathematica code if you want to look at that to potentially stick in the paclet. – b3m2a1 Mar 18 '17 at 19:36

You must log in to answer this question.

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