Get exclusive CAP network offers from top brands

View CAP Offers

Football RSS Feeds Now Available!

[bsa_pro_ad_space id=2]
  • This topic is empty.
Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #603596
    Vdpcevnj
    Member

    You asked and we listened, we have expanded our range of RSS feeds to now include:

    • Premier League Football Matches – List of all upcoming Premiership Matches
    • Featured Football Matches – Featured Football Matches – Can filter the list for Premier League, SPL, La Liga, Italian Serie A, Champions League etc or display them all based on kick-off time.

    If you would like a copy of our guide to setting up RSS feeds on your site, PM me for details.

    Don’t forget other feeds we have available are:

    • Sports Stories
    • Novelty Stories
    • Live Betting in Running
    • Betting in Running Schedule
    • Money Back Specials
    • Next Horse Race
    • Today’s Non Runners
    • Today’s Steamers
    • Today’s Early Prices
    • Antepost Price Changes

    If you have suggestions as to what else you would like via RSS please let us know and we will add it to our to-do list :)

    Cheers

    Fintan

    #771955
    Anonymous
    Inactive

    Fintan.

    The PHP version won’t work for me (my server does not run V5.0) and I cannot get the javascript to load any of your XML files.

    Care to email me a working javeacsript version so I can work out WTF I’m doing wrong?
    :tongue:

    #771976
    Vdpcevnj
    Member

    Howdy

    The example in the word doc is a working example, so not really sure what’s going wrong for you, I’ll get the IT lads to look into it and a list of minimum requirements.

    What I’ll also do is add the additional feeds to CanAffco which I think you do have working on your site?

    Cheers

    Fintan

    #772016
    Anonymous
    Inactive

    @fintan 167692 wrote:

    The example in the word doc is a working example

    It’s an almost working example – I took mine from that – but it does not specify the feed.

    I suspect that the problem may be the way I am storing the variables such as URL and count …

    I’m removing all the [ and ] characters and just leaving the quotes
    eg …

    var AFF_ID = “71”; //Affliate ID
    var feed = “http://rss.paddypower.com/rss/AffiliateBetHighlights.xml” //Feed URL
    var max = 5; //Max number of races displayed
    var count = 0; //Must be Zero for max to work

    See http://www.goonersguide.com/PaddyPower_Reader2.htm for an example of the miserable failure …
    :tongue:

    any help greatly appreciated.
    :hattip:

    #772294
    Anonymous
    Inactive

    I just would like to add that a list of minimum server requirements would be great as the PHP script would not produce any output for me either.

    A blank/white page is all I get. :3eyes:

    Thanks

    #772345
    Vdpcevnj
    Member

    Hi Everyone

    Our IT guys have said the minimum requirements are pretty low, however you will need to know what you are doing programming wise to get it working. The PHP code example will work in any version of PHP

    Potential problems:
    You will need full access to the server, so anyone on shared hosting may have issues.

    There may be extra steps required for those using CMS software such as wordpress, joomla etc etc

    The javascript / ajax example, in order to get that to work you need to pull the feed into your database first and then it populates the ajax widget (which may explain the problems faced by TheGooner). Their is a paragraph before the javascript example explaining this.

    Help is at Hand

    If you want to email me the code you are using, server set-up you have, screenshots of errors I can get people to have a look and see if we can spot what’s going wrong.

    Altnernatively if you now a friendly php programmer who could maybe help you locally, that might also help.

    If anyone is using the affcaff.com software on their site, all our feeds are available via their system as well.

    Cheers
    Fintan

    #772415
    Anonymous
    Inactive

    @fintan 168162 wrote:

    Hi Everyone

    Our IT guys have said the minimum requirements are pretty low, however you will need to know what you are doing programming wise to get it working. The PHP code example will work in any version of PHP

    Fintan – your PHP “experts” are mistaken.

    You PHP code uses xml_parser_create() and xml_set_element_handler and those are extentions that are only available in PHP V5 and beyond.

    Many people using blogs and wordpress are still on PHP V4.1 or V4.2.

    Simlarly the file that you reference in the document … as a way of avoiding cross domain rpoblems for Javascript … also uses the XML extensions in PHP code.

    Quote:
    A PHP example of this file is available here:
    http://www.phpfour.com/lib/transport/transport.phps


    Not to be funny or anything – but have you IT guys actually tried to get something working on PHP V4.1 or V4.2 (which is probably still the defailt) for 70% of the worlds hosting sites.
    :tongue:

    I’d happily try and intergrate something that works …
    :hattip:

    #772418
    Vdpcevnj
    Member

    Hi Gooner

    Point taken, let me go bash some heads and I’ll come back with a solution.

    Thanks for everyone’s patience :)

    #773433
    Vdpcevnj
    Member

    Just a quick update to say we are still working hard on this and will be coming up with a few different solutions over the next few weeks.

    #773479
    Anonymous
    Inactive

    Good man.
    :hattip:

    We will definately plan on using them if they display more than white space.
    :tongue:

    #773494
    Vdpcevnj
    Member

    white space is totally under-rated :)

    #774869
    Anonymous
    Inactive

    By the way, the PHP script works for PHP 4.x.x also if you make sure that there are no invalid line breaks.

    These occur if you copy the source code from the PDF file. Lines 40 to 49, function endElement basically, are critical.

    #774887
    Anonymous
    Inactive

    That’s a bit cryptic for me STAR ..
    CAre to paste the code here so I can see where you’re looking ?
    :hattip:

    #774892
    Anonymous
    Inactive

    [PHP]function endElement($parser, $name ) {
    global $insideitem, $tag, $title, $description, $link, $AFF_ID, $max, $count;
    if ($name == “ITEM” && $count < $max) {
    printf(“%s
    “, trim($link).”&AFF_ID=”.$AFF_ID,htmlspecialchars(trim($title)));
    printf(“%s

    “, html_entity_decode(trim($description)));
    $title = “”;
    $description = “”;
    $link = “”;
    $insideitem = false;
    $count++;
    }
    }[/PHP]

    I have attached my test file below. Simply rename it as .php and upload it to your server. It should work.

    #774895
    Anonymous
    Inactive

    That’s bloody brilliant mate …
    It’s working !! Many Thanks.
    :hattip:

    Let me give you a link to one of your sites from GoonersGuide.com – send me a PM detailing a sports betting URL – and I’ll put it up in the next 24 hours.
    :cappy:

Viewing 15 posts - 1 through 15 (of 19 total)