 |
? |
Author |
Message |
Little Dragon
Joined: 27 Feb 2006
Posts: 2
|
Posted: Mon Feb 27, 2006 5:33 am |

|
Hello. First thankyou for this great and useful script.
My Question:
When using rss2html in "build url" mode, the resulting page shows a test link with encoded url (where is says Results... click to view results: [encoded url])
I know that url is only for testing purposes, but I would like to integrate that encoded ur into my site via hardlink.
Is it possible to have that link display the Item Title and Description rather than the encoded url?
Example:
Instead of:
Click on link to view results: http://www.somesite.com/rss2html.php?XMLFILE=somexmlfeed&TEMPLATE=template.html&MAXITEMS=10
I want it to show:
Click on link to view results: Feed Title - Feed description.
(Both links point to the same URL but the link name is different)
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Mon Feb 27, 2006 11:09 am |

|
Little Dragon wrote: |
Hello. First thankyou for this great and useful script.
My Question:
When using rss2html in "build url" mode, the resulting page shows a test link with encoded url (where is says Results... click to view results: [encoded url])
I know that url is only for testing purposes, but I would like to integrate that encoded ur into my site via hardlink.
Is it possible to have that link display the Item Title and Description rather than the encoded url?
Example:
Instead of:
Click on link to view results: http://www.somesite.com/rss2html.php?XMLFILE=somexmlfeed&TEMPLATE=template.html&MAXITEMS=10
I want it to show:
Click on link to view results: Feed Title - Feed description.
(Both links point to the same URL but the link name is different) |
You would use rss2html.php with a different template to show that information.
Jim
|
|
|
 
|
 |
Little Dragon
Joined: 27 Feb 2006
Posts: 2
|
Posted: Tue Feb 28, 2006 3:23 am |

|
Hmmm... I see where you're going, but I'm not sure that is what will work for me.
I'm already using a template that shows the rss feed's contents , but I also want the link to this encoded URL to be embedded in my main page.
I am using rss2html.php in Build-Url mode, and I have modified the code so that when an RSS Feed is entered and you click Submit, it automatically writes to a file called links.php and adds the link to that encoded Url.
Example:
http://www.hyperweb.info/rss2html.php?buildURL (my rss2html.php)
When you add a feed and hit submit, it will add the encoded link to http://www.hyperweb.info/links.php (try it out to see what I mean)
If you look at my links.php file, the links don't look nice lol. I want the links to look like
Feed Title - Feed description blah bla bla...
Feed Title - Feed description blah bla bla...
Feed Title - Feed description blah bla bla...
Feed Title - Feed description blah bla bla...
The code in my rss2html.php that writes the link to links.php is:
So, basically, how can I add the Feed Title to the $NewsTitle variable?
Also, can I add the Feed's description to another variable ($NewsDescription) to also write to this file?
|
|
|

|
 |
|
|
|