datamade / nyc-councilmatic

:statue_of_liberty: a web app for keeping tabs on city council activity in New York City
https://nyc.councilmatic.org
MIT License
39 stars 12 forks source link

Add extended Discourse Oneboxing support #131

Closed jqnatividad closed 8 years ago

jqnatividad commented 8 years ago

So beyond the synopsis with generic oneboxing that councilmatic already supports, we can get more detailed info (e.g. status of bill, etc.)

fgregg commented 8 years ago

I don't know what oneboxing means. Can you explain?

jqnatividad commented 8 years ago

see https://talk.beta.nyc/t/airbnb-to-release-its-nyc-data-by-appointment-only/1783/10 and https://talk.beta.nyc/t/discourse-what-is-oneboxing/1789

fgregg commented 8 years ago

Interesting! Thanks for the info.

On Thu, Dec 3, 2015 at 10:53 AM, Joel Natividad notifications@github.com wrote:

see https://talk.beta.nyc/t/airbnb-to-release-its-nyc-data-by-appointment-only/1783/10 and https://talk.beta.nyc/t/discourse-what-is-oneboxing/1789

— Reply to this email directly or view it on GitHub https://github.com/datamade/nyc-councilmatic/issues/131#issuecomment-161713012 .

773.888.2718

fgregg commented 8 years ago

For additional context when evaluating this issue, we have gotten less than 5 visits originating on a Discourse site in the last month.

jqnatividad commented 8 years ago

Will see if I can do a PR over the weekend. Its relatively straightforward to implement - basically, just tweaking the Opengraph or Oembed metadata tags to give more contextual info. Added bonus of making Facebook and SEO links better too so its not just for Discourse.

For more indepth integration ala Twitter, Github, Youtube, Wikipedia, etc., one will need to create a onebox engine - https://github.com/discourse/onebox

fgregg commented 8 years ago

Cool! If you do want to make that PR, you should probably do it on https://github.com/datamade/django-councilmatic/blob/3ae7eaafdae2eb6184c866dddf08c52f0335797f/councilmatic_core/templates/partials/seo.html

jqnatividad commented 8 years ago

Will do!

Long term, you may want to look into tighter Discourse integration... unlike Disqus, you own the content, it has integrated search and auto-suggestions, you can do categories, it doubles as a mailing list, and has a robust API https://meta.discourse.org/t/discourse-api-documentation/22706 cc @davidmooreppf

cathydeng commented 8 years ago

closing this since it's an enhancement & would make more sense in django-councilmatic