1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Using an RSS Feed (This is Easy)

Discussion in 'XML & RSS' started by yfs1, Jan 5, 2005.

  1. Deano

    Deano Sail away with me.

    Messages:
    890
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #161
    Hi ST12

    I pasted your code into one of my pages it worked fine.

    Where are you placing the code. Try placing it in between the body text if you are not doing that already.

    If you are then try a simple php hello world, to test your host as set you up for php correctly.

    Deano
     
    Deano, Feb 2, 2006 IP
  2. ST12

    ST12 Active Member

    Messages:
    1,205
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    90
    #162
    May be it is a web host issue. I am waiting for their reply.

    Appreciate your help,
    st12
     
    ST12, Feb 3, 2006 IP
  3. ST12

    ST12 Active Member

    Messages:
    1,205
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    90
    #163
    I got an email from Hostgator. They HAVE BLOCKED RSS. Reason - their servers got overloaded..

    I am using less than 10% of my bandwidth. May be some scripts are run on their servers.
    st12
     
    ST12, Feb 3, 2006 IP
  4. crafty

    crafty Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #164
    Hi
    I have been using the code supplied by YSFI for some time now...it works great ..., however I was wondering if there was a way to limit the number of items that it displays as I thought with about 30 items showing, the pages may take longer to load than if it was limited to say 12.
    Thanks
    Tony
     
    crafty, Feb 3, 2006 IP
  5. Deano

    Deano Sail away with me.

    Messages:
    890
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #165
    Tell them you are paying for a certain amount of bandwidth, it is up to you how you use it. If they won't let you use RSS then tell them you are moving at the end of your contract, as there are plenty of hosts out there who will accept it!

    Deano
     
    Deano, Feb 3, 2006 IP
  6. ST12

    ST12 Active Member

    Messages:
    1,205
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    90
    #166
    This is what they say on their forum:

    "...As of January 31, 2006 the following scripts have been banned from our servers:

    http://RSStoBlog.com
    http://RSSContentBuilder.com
    http://RSSFeedReader.com
    http://SubmitYourURL.info

    If you find the need to use any of these scripts please reply to this thread and this thread only as we are using it to work with the developers of the software.

    We are currently waiting to hear back from a representative so we can find a working solution that will not cause the servers to overload and go offline.
    __________________
    Regards,
    Ben Gabler
    Support Operations Manager,

    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Visit Our Knowledgebase & Ticket System!
    http://www.hostgator.com/help
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=







    Do you guys normally just copy and paste the RSS script within the body of a file?
    As far as I understand it that's all I need.

    I let them know about the usage I have. Waitin for their reply.
    Thank you again,
    st12
     
    ST12, Feb 4, 2006 IP
  7. AlanRenzi

    AlanRenzi Active Member

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #167
    ST12,

    I too use HostGator. I think after reading your post I've figured out why some things haven't been working for me.

    Thanks for the heads up.

    Alan
     
    AlanRenzi, Feb 4, 2006 IP
  8. ST12

    ST12 Active Member

    Messages:
    1,205
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    90
    #168
    Alan

    Probably we need to protest this to the hostgator team. We live in 21st century. They have to improve their service or risk losing us.

    I 've already sent them an email with my opinion.
    Take care.
    st12


    May be it is time to look for another hosting company which allows unlimited domains. Let me know please if you come across one.
     
    ST12, Feb 4, 2006 IP
  9. The Big Deal

    The Big Deal Peon

    Messages:
    212
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #169
    Interesting, I use a lot of RSS and was thinking about using Hostgator for some new sites, I guess I will pass. Thanks for the info.
     
    The Big Deal, Feb 4, 2006 IP
  10. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    #170
    Thanks for your informative post
     
    vic_msn, Feb 5, 2006 IP
  11. jimKeough

    jimKeough Peon

    Messages:
    234
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #171
    will it display images and work with yahoo media rss too?
     
    jimKeough, Feb 5, 2006 IP
  12. smetten

    smetten Active Member

    Messages:
    269
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #172
    Hi I get alot of html code when using the rotating script. Can somebody help me with this. I saw this question was asked before but it wasn´t answerd.

    Greetz

    Smetten
     
    smetten, Feb 7, 2006 IP
  13. obenix

    obenix Eats an apple a day......

    Messages:
    2,236
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #173
    What codes are you getting?
     
    obenix, Feb 7, 2006 IP
  14. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #174
    Make sure PHP is enabled on your server...Although as Obenix says a link would help
     
    yfs1, Feb 7, 2006 IP
  15. smetten

    smetten Active Member

    Messages:
    269
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #175
    It´s on my localhost, i'm just testing things out.
    php is enabled because i copied the code in a php page wich loaded fine. It just shows html in the feed.

    example of two articles of the feed:

    Hamas says it expects to head new Palestinian govt
    Asked whether a Hamas member would become the new prime minister, Hamas leader Ismail Haniyeh told Reuters in Cairo: "This is highly expected." But he said it was too soon to talk about names. <p><a href="http://feeds.feedburner.com/~a/reuters/worldNews?a=wrR5dm"><img src="http://feeds.feedburner.com/~a/reuters/worldNews?i=wrR5dm" border="0"></img></a></p><img src="http://feeds.feedburner.com/reuters/worldNews?g=12701"/>


    Philippines close to peace deal with rebels
    KUALA LUMPUR (Reuters) - Muslim rebels and the Philippine government are close to a deal on land claims, the key to ending a 40-year insurgency that has cost more than 120,000 lives, the facilitator of the talks said on Tuesday. <p><a href="http://feeds.feedburner.com/~a/reuters/worldNews?a=jBgsts"><img src="http://feeds.feedburner.com/~a/reuters/worldNews?i=jBgsts" border="0"></img></a></p><img src="http://feeds.feedburner.com/reuters/worldNews?g=12686"/>

    ps. I just have this problem with your example feed of reuters. Probably because other feeds i tried it with don´t have images.

    Another problem:
    I want to change the font of the title and description, how do I insert the html code in the php script to do this?

    Greetz

    Smetten
     
    smetten, Feb 7, 2006 IP
  16. poseidon

    poseidon Banned

    Messages:
    4,356
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #176
    Thanks alot yfs1 sir :D :p it's working great..

    and ya I too want to know what smetten is asking. How to customized it ?
     
    poseidon, Feb 9, 2006 IP
  17. ST12

    ST12 Active Member

    Messages:
    1,205
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    90
    #177
    Smetten I got the same issue. Post here please if you ever solve it. Interestingly they are clickable and you can read the news, but seeing the codes is something that is good to be fixed.
    Thank you
    st12


    Here is an example:

    Ex-president Preval takes lead in Haitian election
    PORT-AU-PRINCE, Haiti (Reuters) - Former President Rene Preval appeared headed for an outright victory in Haiti's first election since Jean-Bertrand Aristide was ousted two years ago, according to rivals and initial vote counts. <p><a href="http://feeds.feedburner.com/~a/reuters/worldNews?a=C7EpjB"><img src="http://feeds.feedburner.com/~a/reuters/worldNews?i=C7EpjB" border="0"></img></a></p><img src="http://feeds.feedburner.com/reuters/worldNews?g=12976"/>


    You can check it at:
    http://www.quitsmokinghelp.be/



    Not to forget: Thank you YSF1!!! This is the first RSS I got working ..... a bit:)
     
    ST12, Feb 10, 2006 IP
  18. Notting

    Notting Notable Member

    Messages:
    3,210
    Likes Received:
    335
    Best Answers:
    0
    Trophy Points:
    280
    #178
    Sorry but I still don't understand how to do this. Could someone please explain what to do with the code. I want news stories from search phrase "nottingham" to appear on a page on my site.

    Thanks for your help
    Jamie
     
    Notting, Feb 14, 2006 IP
  19. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #179
    This code doesn't create the RSS it only displays it. You will first have to create a feed (or have someone create one) that does what you are asking.

    I doubt one already exists.

    You could always create a blog and post Nottingham news then use the RSS feed from it
     
    yfs1, Feb 14, 2006 IP
  20. Deano

    Deano Sail away with me.

    Messages:
    890
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #180
    Deano, Feb 14, 2006 IP