Halfagain IM Forums
February 10, 2012, 05:52 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Adding Links to the RSS  (Read 2709 times)
0 Members and 1 Guest are viewing this topic.
gravelsack
Newbie
*

Karma: 10
Offline Offline

Posts: 19


« on: March 15, 2007, 22:51 »

Not sure if I am asking the impossible here, but....

I would like to use the "Add random text" option to add a block of text which includes links to my other sites.

I am adding html code to the random text file, but tt looks like RSS Magician is stripping the links out of the text (or maybe my limited understanding of RSS is letting me down again)

Is there any ways round this?
Logged
gravelsack
Newbie
*

Karma: 10
Offline Offline

Posts: 19


« Reply #1 on: March 16, 2007, 16:10 »

Whoohoo!

Got it working.

For anyone else wanting to do the same thing, you can edit the rss.php file as follows:

find:

".xmlentities(strip_tags($item[content]))."


replace with:

".xmlentities($item[content])."


I only want the links present in the feeds that I actually own myself, so I saved the file as rss2.php and then hand edit the final feed URL to call my non-stripped version of the feed whenever I want.
Smiley
Logged
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #2 on: March 19, 2007, 08:54 »

Good job. I was about to tell you that.

However, make sure that the parser or other tool that you use together with rssm feeds is able to process the html code inside rss feeds. Otherwise you may end up with the html code parsed as text, like instead of a link you wil see a text like < a href="etc..etc.. >
Logged
flashdiva
Jr. Member
**

Karma: 11
Offline Offline

Posts: 119


WWW
« Reply #3 on: May 10, 2008, 22:12 »

Quote from: Omar
Good job. I was about to tell you that.

However, make sure that the parser or other tool that you use together with rssm feeds is able to process the html code inside rss feeds. Otherwise you may end up with the html code parsed as text, like instead of a link you wil see a text like < a href="etc..etc.. >


Again, I see this as an essential piece of information. However, there are many of us here that, although we might have a killer history in Web Design, web art, animation, Javascript... we do not have a typical programmer's background.

Things like this issue need to be written up, in a step by step fashion.

Since gravelsack got this working, obviously his tool set, including "parser or other tool" includes the ability to "process the html code inside RSS feeds." Please excuse my ignorance... but what does this mean? Parser (?? ... would this be one of the Half Again suite? I have them all, now, except ContentClub) and "other tool" ... what would that be?

With StoreStacker, I've now purchased this entire suite. I've spent hours and days up here in the forums, because one PRIMARY need with these, is a true set of step by step instructional manuals ... for each product. I keep hopping around here in the forums and the KB. I am now making PDFs of essential postings.

But, truly, some real documentation would sure go a very long way....
Logged

Leanne Carson Boyd
Waybill To Adventure LLC. Ebook Gallery. Gallery of Works.
Extraordinary Flash. And more...[1] [2] [3]...Credentials. :eek:
"You do not really understand something unless you can
explain it to your grandmother" - Albert Einstein
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!