xso232 Posted March 28, 2010 Share Posted March 28, 2010 I was wondering if instead of the links to the acctual page.. I was wondering how/where I could modify the content to show the acctual location of the video itself instead of the page the video is on (directdownload link) I've been looking through seyret.php and where line 3366 reads <link>$mosConfig_live_site/index.php?option=com_seyret&Itemid=$Itemid&task=videodirectlink&id=$vid</link> I would like it to read something more like this <link>$directdownloadlink</link> but I can't seem to find a variable that will work for me.. I found a varriable in the rss file called "$videourl" I tried adding the following with no luck so far looks like this $videourl=$item->videourl; echo " <item> <title>$title</title> <link>$videourl</link> Heres a link to the working RSS http://web.jessewoodrow.com/index2.php?option=com_seyret&Itemid=2&task=rss2feed&no_html=1&feedtype=date&cid=all&order=d&feedlimit=5 I'm havin a really hard time with this and I don't know why, I've done over 80 file revisions by now easy and I just don't understand enough to figure it out... Can anyone help? [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/196767-php-rss-video-url-link/ Share on other sites More sharing options...
xso232 Posted March 28, 2010 Author Share Posted March 28, 2010 can anyone please help me? Link to comment https://forums.phpfreaks.com/topic/196767-php-rss-video-url-link/#findComment-1033248 Share on other sites More sharing options...
xso232 Posted March 29, 2010 Author Share Posted March 29, 2010 am seriously having a rough time figuring this one out... If you go down to around line 3366 you will see "<link></link>" as a part of an RSS echo function... What I would like in there is the location of the Video/Audio File so that I can use it as an itunes podcast RSS Feed.... If you notice the function $thumb=$item->picturelink; If I put this varriable in instead it acctually prints out "http://location/folder/filename.png" So that is exacally what I want, but I need the video location to print out instead of the "Thumbnail" I have been wracking my brain for days over this and I'm not very educated in the ways of php.. it should be an ez fix i just dont know enough to figure it out http://www.xso-online.com/seyret.zip Link to comment https://forums.phpfreaks.com/topic/196767-php-rss-video-url-link/#findComment-1033417 Share on other sites More sharing options...
xso232 Posted March 29, 2010 Author Share Posted March 29, 2010 FINAL RESULT: I have solved this problem by using the following code around line 3366 $videoservercode=$item->videoservercode; echo " <item> <title>$title</title> <link>$videoservercode</link> I have also successfully imported the RSS feed into iTunes MARK AS SOLVED Link to comment https://forums.phpfreaks.com/topic/196767-php-rss-video-url-link/#findComment-1033497 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.