PHP RSS for Joomla - Stumped, crying, untrained :(

I need to be able to call the file location in an rss feed as a link

Page 1 of 1

4 Replies - 793 Views - Last Post: 29 March 2010 - 06:42 AM Rate Topic: -----

#1 xso232  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 28-March 10

PHP RSS for Joomla - Stumped, crying, untrained :(

Posted 28 March 2010 - 05:56 AM

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&amp;Itemid=$Itemid&amp;task=videodirectlink&amp;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...

---------- Post added at 06:59 ---------- Previous post was at 05:49 ----------

Update: 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>



Here is a link to the RSS
http://web.jessewood...r=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?

Attached File(s)



Is This A Good Question/Topic? 0
  • +

Replies To: PHP RSS for Joomla - Stumped, crying, untrained :(

#2 xso232  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 28-March 10

Re: PHP RSS for Joomla - Stumped, crying, untrained :(

Posted 28 March 2010 - 03:44 PM

Still lookin for a solution
Was This Post Helpful? 0
  • +
  • -

#3 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6063
  • View blog
  • Posts: 23,515
  • Joined: 23-August 08

Re: PHP RSS for Joomla - Stumped, crying, untrained :(

Posted 28 March 2010 - 04:06 PM

There is no direct link to the video in the RSS, so there's no way to get it.
Was This Post Helpful? 0
  • +
  • -

#4 xso232  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 28-March 10

Re: PHP RSS for Joomla - Stumped, crying, untrained :(

Posted 29 March 2010 - 04:31 AM

View PostJackOfAllTrades, on 28 March 2010 - 03:06 PM, said:

There is no direct link to the video in the RSS, so there's no way to get it.

$thumb=$item->picturelink;
this acctually does exacally what I want, but instead of the thumb I'd like the videofile itself... The folder structure is like this
http://web.jessewood...yFolder/_thumbs

The videos are located in the **CatagoryFolder

does this mean its impossible to find the file location? i doubt that heres the localvideo.php file

they seem to be using the $vcode $file functions to recall the the file location in the "Embed" under $posflv in the localvideo.php

I would like to "ADD" the functionality of this file location to the RSS, of course there is no "File location" on the RSS as of yet.. This is exactly what I would like to add.

this is the current link to the most recent revisions of the 2 files in question

http://xso-online.com/seyret.zip

This post has been edited by xso232: 29 March 2010 - 04:36 AM

Was This Post Helpful? 0
  • +
  • -

#5 xso232  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 28-March 10

Re: PHP RSS for Joomla - Stumped, crying, untrained :(

Posted 29 March 2010 - 06:42 AM

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
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1