rss virgin

topic posted Wed, July 23, 2008 - 9:42 AM by  david
I have a customer who has set up some feeds at RapidFeeds.
The generated code for PHP is the following:

<?
@readfile("mysite.rapidfeeds.com/mysite.php
?>

All of the links on the page go nowhere.
What am I missing?

See an example here:
www.studio222.biz/paincarem...ticles.php

Thanks in advance,

Dave
posted by:
david
Nevada
  • Re: rss virgin

    Wed, July 23, 2008 - 4:22 PM
    hi david,
    i haven't used RapidFeeds but I can tell you the reason your links don't go anywhere is there's no value for the href in your <a> tags; where there should be an address, there is just an empty string. I would guess that this field was left blank by your client when they set up the RapidFeeds account because they were waiting for the URL to be created by you. Hopefully when you tell them the final web address of the pages they can just plug this information in on their RapidFeeds account and it will work from there. Alternatively if the pages already exist hopefully all they have to do is go in and fill out the rest of the information.

    This was probably a typo or problem with the way tribe displays code, but another thought was that your @readfile statement should be terminated with a final "); for proper parsing. I'm thinking that it is probably there in the real live example that's posted to your server, otherwise you'd get an error message or blank screen instead of the menu of links.

    have a great day!
    • Re: rss virgin

      Wed, July 23, 2008 - 5:06 PM
      Yep, that what it was. Thanks Jesse.
      I assumed he added the url.
      • Re: rss virgin

        Thu, July 24, 2008 - 9:41 AM
        Here's another question.
        The URL he is using is for information he posted on blogger.com

        Is there a more direct way to grab the titles straight from blogger without going through RapidFeeds or a similar program?
        It seems to hang a lot.

        Thanks
        • Re: rss virgin

          Sat, July 26, 2008 - 2:40 PM
          I haven't yet built an application that does what you're describing but you should hypothetically be able to retrieve the information through the RSS feed on blogger.com, parse it as XML and reinterpret the results for your client's site. Wish I could provide you with some ready-made code but that's not something I've played around with much. I know there are DOM functions for PHP and javascript but I seem to remember there are built-in limitations with retrieving info from other sites using javascript to prevent cross-site scripting. or something. sorry this is kind of a lame reply... anybody have a better answer for david?

Recent topics in "Web Design"