Project:RSS Remote Enclosure
Version:6.x-1.0
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:reikiman
Status:closed (works as designed)

Issue Summary

This module looks amazing -- thank you for building this, and releasing it out.

Is there any possibility of this module working as a complement to the embedded media field?

The functionality of this module, combined with the ability to display the linked items inline, would work to improve (IMO) both modules -- it would provide a clean method for safely handling media within a site.

Comments

#1

Thanks for your kind words. I'm overwhelmed at the response I've been getting for encl_remote!

I haven't had an opportunity to really examine EMF's structure, but we might be able to get the two to play nice. I'll do some further investigation in my "copious free time", to quote Tom Lehrer... :-)

#2

Got enclosure tags working for Blip.TV in Embedded Media Field, and hooks for other providers, although I haven't finished invoking them for others. Just saw this module -- I'll take a look at it and see if we can get them to work together. Too bad there's not a way to allow an issue to be marked for both projects -- I'll just make a new one for emfield.

#3

Version:5.x-0.4-beta» 6.x-1.0

I was just looking at this idea prior to filing #565904: Add CCK support . Today there are several more choices than emfield.

In the emvideo zzz provider there is code which could be borrowed that generates rendering of both a player or thumbnail for several video types .. based on file extension.

In the emaudio custom_url provider it simply uses an embed tag with the URL. There are other modules such as swftools that encapsulate nicer flash based players.

#4

For MP3 I found it's real easy to use a method in the swftools module. In my theme in node.tpl.php I added the following. This lets you use swftools to select among players etc. Unfortunately this doesn't help for video.

  <?php if (isset($node->encl_remote) && !empty($node->encl_remote->url) && $node->encl_remote->mime_type === "audio/mpeg") {
      print
swf($node->encl_remote->url);
  }
?>

#5

Assigned to:Anonymous» reikiman
Status:active» needs review

Looking at this again - it would be pretty straightforward to move my workaround (above) into the module. Outlining the changes

_encl_remote_encl_link: Needs to call swf($encl_remote->url'>$encl_remote->link_text) conditionally. The conditions are a) whether to use SWF at all, b) on a given set of MIME types, c) whether to do SWF in teasers, d) depend on whether swftools is installed

encl_remote_form_admin: add elements matching those conditions, and depend on whether swftools exists

encl_remote_form_admin_submit: save to variables to support those conditions

encl_remote_nodeapi:view: use those variables

.info: perhaps declare a dependency on swftools. Not required if the above thoughts are followed to detect swftools before calling the swf() method.

#6

Status:needs review» closed (works as designed)

Site builders can do this with theming. The scope here is only RSS feeds.