-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Last X Content Type Under Links #18
Comments
Looks good. It shows people a sample of what they can find there without having to click. |
Would you move the latest articles and blog posts to a similar position? |
@paperdigits yes, I was thinking the latest blog+article posts as well (though those are things that can be added during build-time obviously - the discuss feed will need to parse a little json with js enabled). |
We'd need to parse https://discuss.pixls.us/latest.json right? |
@paperdigits Yep! I think there may even be a way to limit the response to be even smaller? (I haven't checked on that in a while, so I could be mistaken). |
I can't seem to locate a max response parameter in their api docs.
…On December 28, 2016 8:13:23 AM PST, Pat David ***@***.***> wrote:
@paperdigits Yep! I think there may even be a way to limit the
response to be even smaller? (I haven't checked on that in a while, so
I could be mistaken).
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#18 (comment)
|
I haven't been able to find one either - have we checked how big the json response is? Maybe it's not too bad? |
Seems to be the last 30 posts in the json response. |
I'm going to slowly work my way through this, as my javascript is horrible.
|
Where'd the jquery come from? |
The internet!
I was hunting for a way to process the latest.json feed and came across that snippet on the discourse forum.
I executed the code in the debugger and it seemed to work.
…On May 16, 2017 9:19:08 AM PDT, Pat David ***@***.***> wrote:
Where'd the jquery come from?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#18 (comment)
|
On the main page, there are three primary links for the three biggest types of content on the site:
Including the short text under each link, I thought it would be nice to include the X last titles of those content as well. Here's an example of what the Discuss feed might look like:
The text was updated successfully, but these errors were encountered: