Embedding App.net posts

Creating and modifying plugins.
Post Reply
sr_rolando
Posts: 3
Joined: Sat Mar 22, 2014 8:26 pm

Embedding App.net posts

Post by sr_rolando » Sat Mar 22, 2014 8:30 pm

Hi,

Is there any chance that somebody is already working on some plugin for including App.net posts? Something along the line of the respective WordPress plugin at https://bensmann.no/downloads/wordpress-adn-plugin/ (or http://wordpress.org/plugins/tmb-adn-embed-and-widget/, respectively).

If so, a pointer would be much appreciated.

MarioH
Regular
Posts: 234
Joined: Mon Jul 20, 2009 10:53 pm
Contact:

Re: Embedding App.net posts

Post by MarioH » Sun Mar 23, 2014 1:11 pm

Hi,

you can use the OEmbed-Plugin, which allows embedding of many contents, also App.net.

Greets
Mario

sr_rolando
Posts: 3
Joined: Sat Mar 22, 2014 8:26 pm

Re: Embedding App.net posts

Post by sr_rolando » Wed Mar 26, 2014 12:54 am

Thanks for the pointer. The oEmbed plugin does indeed retrieve at least some of an ADN posting's text. Sadly it cuts it off at empty lines which renders it inappropriate for my use case.

YMMV, of course.

sr_rolando
Posts: 3
Joined: Sat Mar 22, 2014 8:26 pm

Re: Embedding App.net posts

Post by sr_rolando » Wed Mar 26, 2014 1:16 am

Some more digging reveals that the implementation of App.net's oembed provider only comes with support for JSON (https://developers.app.net/reference/other/oembed/). It doesn't just return HTML that one can put in a s9y posting.

A possible solution might be to write an own oembed provider for ADN that returns usable HTML.

Pointers to alternatives are still very much appreciated.

Post Reply