carrot / tumblr-theme-parser

a Tumblr theme parser / compiler
GNU General Public License v3.0
28 stars 3 forks source link

Where do I get data.json content? #9

Closed tomasruud closed 8 years ago

tomasruud commented 8 years ago

Do I manually have to generate all the preview data, or is there somewhere I can download my existing content?

notslang commented 8 years ago

You can grab it from https://www.tumblr.com/customize_api/demo_content/<name of blog>. I got that URL from looking at the requests made in the "Edit Theme" page (https://www.tumblr.com/customize/<name of blog>) so it's probably the JSON structure that Tumblr uses internally.

You'll need to be logged in to reach that page, but once you are, you can get the content for any blog. For example: https://www.tumblr.com/customize_api/demo_content/booksofadam or https://www.tumblr.com/customize_api/demo_content/nasa make pretty good filler content.

PS: this should probably be added to the readme.

tomasruud commented 8 years ago

Nice man! Do you want me to make a pull request, or do you just add it yourself?

notslang commented 8 years ago

Sure, a PR would be great :smile:. Also, feel free to close this issue - I don't own the repo anymore, so I can't do it on my own.