Matt Kiser
Matt Kiser
Upon further testing, this is obviously not the correct way of fixing this. You'd additionally need to remove `# frozen_string_literal: true` from the top of the file.
Yeah, I don't know correct way to fix this (not much of a developer anyhow, and certainly don't know much about the Ruby way). Feel free to close or update...
Dope improvement by @milo-wata (https://github.com/mkiser/WTFJHT/pull/94). I'm going to put together a very light requirements doc for fully spec'ing what I need with the API. tl;dr this is a great improvement....
Basic product reqs are here: https://github.com/mkiser/WTFJHT/wiki/API-Specs It's a starting point for a discussion. Let's talk!
@crhallberg fixed in https://github.com/mkiser/WTFJHT/commit/88256f9d2da9aec29738c027d4d2dd4b64e6a740#diff-aeb42283af8ef8e9da40ededd3ae2ab2
API is here: https://github.com/mkiser/WTFJHT/blob/master/api/v1/posts.json Output is here: https://whatthefuckjusthappenedtoday.com/api/v1/posts.json This setup works well. I'd love to further parse this to include a structured list of all the external links found in...
This would all be ideal. The API today is just a flat json file that's built the same way everything else on the site is.
oh shit! i'll check this out tonight. thanks!
I think a few things have changed since this was logged. But, it's still largely correct. The site title uses an `h3` and the `index` page uses `h2`'s for listing...
I'd like to revisit this. Anybody able to do a new audit of the current structure?