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

PHP recent posts from boards.ie

Options
  • 22-09-2002 12:23pm
    #1
    Closed Accounts Posts: 4,655 ✭✭✭


    I recently asked people to recommend free headlines and DeVore kindly gave me a url that was an xml output of recent posts from boards.ie.

    this file can be found here

    http://www.boards.ie/vbulletin/xml.php

    now since I didnt want all the information from the output to be displayed, I created the following php script, and as I told DeVore, I would post it here for other people to borrow/steal even mess around with to get maybe what they wanted

    anyway first off, to see what I did with the script, please visit this link (site not complete, so dont visit any other links yet :) )

    http://www.vertigo.irishfreelance.com/news.php

    now the script i will place here for free download or whatever, if you understand php its pretty much self explanatory

    http://www.vertigo.irishfreelance.com/php_output.txt

    Basically, with the xml output, there are a few children tags, which are placed into an array, which filters through the open and close version of each tag, replacing each with simple html. so if you didnt want something to be displayed you would use "<!-- ", comment tags. Look at the script, but then also look at the source of the page I created (the news.php one)


    any queries, problems or even suggestion please reply back (i do expect a few)


Advertisement