Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

RSS Feed help

  • 29-02-2012 9:34pm
    #1
    Registered Users, Registered Users 2 Posts: 345 ✭✭


    Hi Guys,

    I have been using an RSS feed i wrote with PHP for the last 3 years and all was going well until a certain unmentionable site decided to change how things worked and started to use 'magnet' links instead of the normal torrent links.

    Anyway , i tried to recode the RSS feed for this and i keep having the same issue and i cant seem to get around it so anyone who knows about RSS might be able to help me out.

    The link im trying to send is like this

    [PHP]<link>magnet:?xt=urn:btih:7be37ac7f65dc78bf8b115629e60220c637fe0d1&dn=Name+of+the+file</link>[/PHP]

    but when i use that i keep getting an error saying expecting a semicolon because i should be replacing & with & ... unfortunately , when i do that , the page displays , but i have no links at all and when i check the source , it looks like

    [PHP]<link>magnet:?xt=urn:btih:7be37ac7f65dc78bf8b115629e60220c637fe0d1&dn=Name+of+the+file</link>[/PHP]

    anyone have any ideas on how to get around this ?

    I basically want to make an RSS feed for magnet links with PHP.


Comments

  • Registered Users, Registered Users 2 Posts: 9,284 ✭✭✭RobertFoster


    Try:

    [php]<link><![CDATA[magnet:?xt=urn:btih:7be37ac7f65dc78bf8b115629e60220c637fe0d1&dn=Name+of+the+file]]></link>[/php]

    CDATA explanation.


  • Registered Users, Registered Users 2 Posts: 345 ✭✭DjTaz


    Thanks Robert ...
    That works without errors , but still no link on the page :(


Advertisement