1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Feed Importer - include also media tags

Discussion in 'XenForo Suggestions' started by ragtek, Jan 15, 2011.

  1. ragtek

    ragtek Guest

    We should be possible to define also "own" html => bb Handlers without using the code event system.

    For example check this feed: http://feeds.feedburner.com/TrailerSchautManBeiTrailerzonede

    Content tag:
    <object width="853" height="505"><param name="movie" value="http://www.youtube.com/v/_InWk8-jjLk?fs=1&amp;hl=de_DE&amp;rel=0&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/_InWk8-jjLk?fs=1&amp;hl=de_DE&amp;rel=0&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="853" height="505"></embed></object><p><img src='http://www.trailerzone.de/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/1202.jpg&amp;w=200&amp;h=130&amp;zc=1&amp;ft=jpg' alt='post thumbnail' /></p> 
    <p><strong><img class="alignright size-full wp-image-1203" title="Meine Erfundene Frau Trailer" src="http://www.trailerzone.de/wp-content/uploads/meine_erfundene_frau.jpg" alt="Meine Erfundene Frau Trailer" width="163" height="231" />Genre:</strong> Komödie &#8211; USA 2010<br /> 
    <strong>Kinostart:</strong> 24.02.2011<br /> 
    <strong>Laufzeit:</strong> 95 Minuten<br /> 
    As you see, it contains a youtube video.
    Even i have a youtube media tag, the feedimporter just ignores this, and my post is:
    <img src="http://www.trailerzone.de/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/1190.jpg&amp;w=200&amp;h=130&amp;zc=1&amp;ft=jpg" class="bbCodeImage LbImage" alt="[IMG]" /><br /> 
    <b><a href="http://www.trailerzone.de/wp-content/uploads/gullivers_reisen.jpg" target="_blank" class="externalLink" rel="nofollow"><img src="http://www.trailerzone.de/wp-content/uploads/gullivers_reisen.jpg" class="bbCodeImage LbImage" alt="[IMG]" /></a>Genre:</b> Komödie – USA 2010<br /> 
     <b>Kinostart:</b> 10.02.2011<br /> 
     <b>Laufzeit:</b> 89 Minuten<br /> 
     <b>FSK:</b> 6 Jahre<br /> 
    Fuhrmann, Veer, Kevin and 2 others like this.
  2. Mike

    Mike XenForo Developer Staff Member

    That's really going to be a challenge to process generally, as there are so many different forms for this stuff to take; our snippets definitely don't fit with the "default" ones. We don't even keep track (explicitly) of the actually swf/flv URL, so it's not easy to pull it out of that. There's some scope for it, but it would involve a fair bit more configuration for a fairly rare case, IMO.
  3. Boothby

    Boothby Active Member

    I think the best solution for this would be to be able to set a callback method as in page-nodes.
  4. lightbox

    lightbox Active Member

    My suggestion would be to support MediaRSS (RSS extension) feeds, which are designed to syndicate media files.
    Media inside regular RSS content would be pretty hard to parse.
    Fuhrmann, Veer and Kevin like this.
  5. bogus

    bogus Guest

    A quick reminder :whistle: Seems like some of us would like to get this included.
    I appeal again to the devs. Please, do not forget us. Thanks a lot
  6. Veer

    Veer Well-Known Member

    yes +1 this.
  7. lightbox

    lightbox Active Member

    MediaRSS would be really great, but to extend on this feature request, I could also imagine to add OPML support.
    OPML makes it possible to combine multiple MediaRSS feeds into one OPML feed.

    You have 3 subforums serving as showrooms for your users.
    One subforum for photography, one for illustrations and paintings and one for 3D rendered images.

    Wouldn't it be great to provide a feed that contains all three MediaRSS feeds in one? OPML could provide just that.

    Dummy XML for MediaRSS:
    <?xml version="1.0" encoding="utf-8"?>
    <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:dc="http://purl.org/dc/elements/1.1/">
    	<title>My MediaRSS Feed 1</title>
    	<description>Photography Showroom</description>
    	<pubDate>Tue, 12 Oct 2011 00:00:00 -0000</pubDate>
    	<lastBuildDate>Tue, 12 Oct 2011 00:00:00 -0000</lastBuildDate>
    		<title>Our Photography Showroom</title>
    		<title>Member-Card (Nature Calls)</title>
    		<description>My Member-Card Design 1</description>
    		<pubDate>Tue, 11 Oct 2011 05:47:21 -0700</pubDate>
    		<media:content url="http://xenforo.com/community/attachments/preview1-png.10718/"
    		<media:title>Member-Card (Nature Calls)</media:title>
    		<media:thumbnail url="http://xenforo.com/community/attachments/thumb-preview1-png.10718/" 			type="image/png"
    		<media:credit role="photographer">Shelley</media:credit>
    Dummy code for OPML:
    <?xml version="1.0"?>
    <opml version="1.1">
          <title>Xenforo MediaRSS Feeds</title>
          <outline type="rss" xmlUrl="http://xenforo.com/myMediaRSSfeed1.xml" />
          <outline type="rss" xmlUrl="http://xenforo.com/myMediaRSSfeed2.xml" />
          <outline type="rss" xmlUrl="http://xenforo.com/myMediaRSSfeed3.xml" />
  8. DRE

    DRE Well-Known Member


Share This Page