[nodebb-plugin-iframely] IFramely Embeds
-
How to deploy Iframely API to your own servers
Self-host the open-source web embeds parsers for hundreds of domains
Iframely (iframely.com)
I still haven't worked out a few kinks, but I've been able to get it up and running on my site. It's not as effective though for normal sites. Take a look at the link above.
Here's what a non-paid embed for the same page looks like on my site:
http://prntscr.com/amjy3wI recently posted a topic in the Testing Area with more examples - though things went as expected there.
-
@julian said in [nodebb-plugin-iframely] IFramely Embeds:
@exodo Unfortunately, I don't think the free domain exists, just the free tier with the API key you can get from their site.
I'd ask on their issue tracker or via contact form though, just to be sure!
well, anyone can get free api key, not sure what this mean
they authorised a special, completely free domain for use in all* NodeBB forums!
-
@julian said in [nodebb-plugin-iframely] IFramely Embeds:
I believe they were planning on allowing unlimited use, although at this time I'm not sure whether that is still in effect. Best to assume that that does not exist anymore
i see
then maybe is better to remove that line from first post
as we have only 1k/month free hits and plans upgrade are expensive I think some new people will be disappointed to see the functionality running on this community and then discover that it is a paid plugin -
Something I've noticed in Iframely is that the number of API hits has been steadily increasing over time. I reached out to Iframely, and they noted that NodeBB appears to be making the majority of the API calls.
I've taken a look at your hits, and as I see the more from API calls than from iFrames. It means your NodeBB is making the most hits.
The way NodeBB folks have it implemented is that they keep the cache for 1 day in server's memory. If you restart the servers, for example, - the cache will be reset. Also, if your RAM is limited, some of the records can be evicted from cache prematurely.
We did helped NodeBB team develop the plugin - but from the point where the link is already extracted and till the point before it needs to be stored. So, basically - connecting to API and UI is our part. However, if you have a pull-request for longer cache times or eliminating the older links - my team should be able to review, merge and push it to NPM.I am far from a developer, so I'll ask if you guys can take a look at the plugin and try and add some method of lowering API hits. Perhaps if a post is older than x days, don't attempt to cache the Iframely hit until someone loads that post. Maybe going a step further and removing the embed if the post is over a certain age.