also replace URL with oembed representation

Bug #275033 reported by millette
2
Affects Status Importance Assigned to Milestone
LongURL
Fix Released
Undecided
Unassigned

Bug Description

I took the liberty of adding an oembed option to the API. It only works for the JSON format for now and when enabled (?oembed=1&format=json&url=...) the API return an HTML representation for the given URL. It can be a thumbnail, video player, sound clip, etc. See http://oohembed.com/ for the full list of supported web hosts and http://oembed.com/ for the oembed spec.

The patch was generated with
$ diff -wEBu ../index.php index.php >longurl-oembed-oohembed.patch

I didn't really take the time yet to figure out bzr, sorry.

I'm also submitting a patch to laconica so identica can enable this feature.

Revision history for this message
millette (millette) wrote :
Sean Murphy (seanmurphy)
Changed in longurl:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.