Hi Guys,

So many times we find ourselves linking the content across the web to help tell a specific story around a product and/or research topic. It would be awesome if the paragraph feature you just implemented for 2.30 - could link external content beyond youtube - like Wikipedia or any other web site - so teasers of that content could be shown on your site.

I presume there may be many issues to this simple request - how would search handle "searching" your site and the "linked content" which is not on your site. But something I'm thinking you may have been thinking about already - just want to catch up and hear your thoughts!

Cheers!

Adam

Comments

mpotter’s picture

That's a good idea for the roadmap. Doing just *links* is pretty trivial and we felt the existing WYSIWYG was adequate for just lists of external links. But as you said, the ability to pull in a summary from an external link can get a lot more complex. Sites like Facebook try to do this when you enter a link. I'll need to look to see if there are some existing modules in Drupal that might already do this. If you can find a module that pulls in external links and summaries via a field, then adding that field to a custom paragraph type would be pretty easy.

As long as the external summary was stored within a field of the paragraph then it's easy to add it to the search index if you wish. But that would only work well for links to stuff that doesn't change. If you need to link to something "live" then you'll want to cache it and fetch it periodically, or render it live with the page (although performance issues with that). Fetching it live would make it harder to search.

Youtube and Vimeo was possible because those sites follow a specific API for grabbing preview images for their videos. To make this work for much more generic sites would be more challenging.

jbrundle’s picture

The link attachment for FBSMP module in the Statuses module does what I think you are talking about here. When you attach a link, it creates a teaser summary and displays any images on the page (with a image choice widget).

mpotter’s picture

The other Drupal module that does this kind of thing is https://www.drupal.org/project/oembed

A paragraph-type that uses this is actually something we are looking into for the future.

chikaramike’s picture

I tried using the oEmbed module to pull in images from Flickr into the media module but after tyring to configuring media browser and setting up a new image field the only Supported internet media providers was still just YouTube and Vimeo. Is there a way to enable other media providers including Flickr & SoundCloud?

mpotter’s picture

That's not really an Atrium issue. You need to find a module that adds Flickr integration to the Media module via the internet providers. Atrium includes the YouTube and Vimeo media modules, so you'd just add a Flickr module (if it exists). But none of this is from Atrium, it's all just other plugin modules to Media. If you can't find something, ask in the Media issue queue.