Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#253 2021-03-20 16:56:18

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,603
Website GitHub Twitter

Re: smd_xml : extract data from XML feeds

etc wrote #329097:

Certainly too late, but for the record:

<txp:etc_query url="https://vimeo.com/api/oembed.json?url=http%3A//vimeo.com/336049258" query="." markup="json">...

Not as late as I am on this one. I have just noticed it.
Thanks so much, the snippet does work!
Here is my first effort.

<txp:etc_query url="https://vimeo.com/api/oembed.json?url=http%3A//vimeo.com/336049258" query="." markup="json">
   <img src="{thumbnail_url?}" width="{thumbnail_width?}" height="{thumbnail_height?}" class="my classes" />
    {description?}
</txp:etc_query>

The problem now is figuring out how to load high res images which do not appear to be supported with their default OEmbed.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB