ucsc / wcms-design-templates

Styles and Javascript for official UC Santa Cruz web templates
http://webassets.ucsc.edu
4 stars 4 forks source link

Cascade Server generate json output for news #347

Closed jrosczyk closed 9 years ago

jrosczyk commented 9 years ago

Where to start: http://help.hannonhill.com/discussions/how-do-i/291-how-to-generate-text-file-in-cascadeserver

https://github.com/pixelsbysarah/Cascade-Server-XSLT/blob/master/Non-XML_Publishing/json-output.xsl

knice commented 9 years ago

I've got a few things ahead of this in the queue. In the interim, I've created two json feeds using Kimono Labs, a site that creates APIs by screen-scraping URLs.

News front page feed:

Most recent 250 articles:

I'll update this thread when I get JSON publishing of news articles built natively into the WCMS.

jrosczyk commented 9 years ago

Okay, this is nice for screen-scraping. I’ve been using the Google RSS to JSON converter which also works fine for the basic info. Eventually (when it goes inside of Cascade), I’d like the whole article in the JSON feed, along with a title picture.

On Oct 10, 2014, at 8:53 AM, Rob Knight notifications@github.com wrote:

I've got a few things ahead of this in the queue. In the interim, I've created two json feeds using Kimono Labs, a site that creates APIs by screen-scraping URLs.

News front page feed:

Link: https://www.kimonolabs.com/api/8upgms8s?apikey=b4dafbbe4c485883a627afb87ac8e5bd Contains: date, headline, description, thumbnail Most recent 250 articles:

Link: https://www.kimonolabs.com/api/3d5vxhrg?apikey=b4dafbbe4c485883a627afb87ac8e5bd Contains: date, headline, description I'll update this thread when I get JSON publishing of news articles built natively into the WCMS.

— Reply to this email directly or view it on GitHub.

dajoturner commented 9 years ago

@knice Does this stay in scope for fall quarter, or is this future work? @jrosczyk Do you have what you need for the portal?

knice commented 9 years ago

Future work.