Closed increpare closed 7 years ago
Can it involve a job that periodically fetches all posts from the gallery website and hosts it on puzzlescript.net?
The "right" way to fetch all posts from a Tumblr is using an API key, and it's a bad idea to embed it in index.html
Thanks for thinking about this.
Judging by the Tumblr API wording ( http://www.tumblr.com/docs/en/api_agreement) we probably shouldn't use it for anything -
"Licensee Applications are strictly prohibited from syndicating or distributing Content in any manner, public or private, including but not limited to public redisplay of any Content."
:|
My ideal for this project was to keep everything static html. I think my server for puzzlescript doesn't support php / mysql.
Maybe this isn't so important. Maybe the current format is okay - recent games get exposure, and older ones people can still find via the tumblr. Hm.
On Thu, Feb 20, 2014 at 5:29 PM, Ori Avtalion notifications@github.comwrote:
Can it involve a job that periodically fetches all posts from the gallery website and hosts it on puzzlescript.net?
The "right" way to fetch all posts from a Tumblr is using an API key, and it's a bad idea to embed it in index.html
Reply to this email directly or view it on GitHubhttps://github.com/increpare/PuzzleScript/issues/52#issuecomment-35646709 .
Got it!
Just call http://puzzlescriptgallery.tumblr.com/random X times. (Watch out for an implausible infinite loop if you get the same item after several retries)
This is a pretty stand-alone task, maybe someone else would be interested in having a look -
right now for the index page it pulls the last twenty and selects 3 at random. i don't know if it's possible but it'd be neat if someone could make it trawl 3 completely at random from its archives.
https://github.com/increpare/PuzzleScript/blob/master/index.html