coleifer / micawber

a small library for extracting rich content from urls
http://micawber.readthedocs.org/
MIT License
635 stars 91 forks source link

How to bootstrap Iframely? #41

Closed iparamonau closed 9 years ago

iparamonau commented 9 years ago

Hi Charles, this is a separate ticket to continue this discussion.

We added the description of Iframely's approach to providers here: https://iframely.com/docs/providers.

Though our preference would be to bootstrap for all URLs as Iframely can generate summary cards, handle link shorteners, detect direct image links, etc.

Another issue is the API endpoint address:

Any suggestions?

coleifer commented 9 years ago

iframely is a bit different from the other providers, since it matches so many types of URLs. If someone wanted to use it, they would just register a single provider with a regex that matched any URL, and point it to your service. It would be straightforward.

coleifer commented 9 years ago

I don't plan on adding this feature myself, but interested users probably won't have much trouble getting iframely working. I am going to close this for now.

iparamonau commented 9 years ago

Ah, yes, I see. If Provider('...') accepts API addresses with query strings in it, it should do the trick.

Thanks a lot. See - we didn't need a separate ticket :)

coleifer commented 9 years ago

Google will find this a lot more easily. Thanks for opening it.