ホーム >> RSSセンター >> eEmbed now included in XOOPS 2.6.0

RSSセンター

  メイン  |  簡易ヘッドライン  

link XOOPS.org XOOPS.org (_FriPMKSTEthKSTR0517)

feed eEmbed now included in XOOPS 2.6.0 (_FriPMKSTEthKSTR0513)
Including and presenting Media has just become so much easier in the next version of XOOPS!

Richard just added the " oEmbed " capability to XOOPS 2.6.0

So what is oEmbed ?

oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly, in other words, it allows embedding content from a website into another page.

An oEmbed exchange occurs between a consumer and a provider. A consumer wishes to show an embedded representation of a third-party resource on their own website, such as a photo or an embedded video. A provider implements the oEmbed API to allow consumers to fetch that representation.

In XOOPS, similar to 'Clickable' filter, Embed will process a URL alone on a line using the embed/embed package. For URLs supporting oEmbed, such as YouTube, the oembed result will be shown. For other URLs, a default media box, built from the page content, will be displayed. See example below of the code, and then representation provided thanks to oEmbed:

Original Image

How cool is that?

You can test this version by forking or downloading it from our GitHub account


execution time : 0.046 sec
wikipedelia要約
User Local
Notice [PHP]: Use of undefined constant _LANGCODE - assumed '_LANGCODE' in file class/template.php line 85
Notice [PHP]: Undefined index: theme in file kernel/block.php(143) : eval()'d code line 1
Notice [PHP]: Use of undefined constant _DATESTRING - assumed '_DATESTRING' in file include/functions.php line 223
Notice [PHP]: Use of undefined constant _SHORTDATESTRING - assumed '_SHORTDATESTRING' in file include/functions.php line 211
Notice [PHP]: Use of undefined constant _DATESTRING - assumed '_DATESTRING' in file include/functions.php line 223
Notice [PHP]: Use of undefined constant _SHORTDATESTRING - assumed '_SHORTDATESTRING' in file include/functions.php line 211
Notice [PHP]: Use of undefined constant _DATESTRING - assumed '_DATESTRING' in file include/functions.php line 223
Notice [PHP]: Use of undefined constant _MEDIUMDATESTRING - assumed '_MEDIUMDATESTRING' in file include/functions.php line 214
Notice [PHP]: Use of undefined constant _SHORTDATESTRING - assumed '_SHORTDATESTRING' in file include/functions.php line 211