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?
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?
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
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'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.
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