- This topic is empty.
-
AuthorPosts
-
July 3, 2008 at 12:26 pm #603596VdpcevnjMember
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
July 3, 2008 at 11:09 pm #771955AnonymousInactiveFintan.
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:July 4, 2008 at 11:34 am #771976VdpcevnjMemberHowdy
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
July 4, 2008 at 8:19 pm #772016AnonymousInactive@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 workSee http://www.goonersguide.com/PaddyPower_Reader2.htm for an example of the miserable failure …
:tongue:any help greatly appreciated.
:hattip:July 8, 2008 at 9:11 pm #772294AnonymousInactiveI 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
July 9, 2008 at 12:18 pm #772345VdpcevnjMemberHi 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
FintanJuly 10, 2008 at 5:43 am #772415AnonymousInactive@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:July 10, 2008 at 7:14 am #772418VdpcevnjMemberHi Gooner
Point taken, let me go bash some heads and I’ll come back with a solution.
Thanks for everyone’s patience
July 22, 2008 at 8:59 am #773433VdpcevnjMemberJust 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.
July 22, 2008 at 11:06 pm #773479AnonymousInactiveGood man.
:hattip:We will definately plan on using them if they display more than white space.
:tongue:July 23, 2008 at 7:04 am #773494VdpcevnjMemberwhite space is totally under-rated
August 6, 2008 at 9:05 pm #774869AnonymousInactiveBy 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.
August 7, 2008 at 2:01 am #774887AnonymousInactiveThat’s a bit cryptic for me STAR ..
CAre to paste the code here so I can see where you’re looking ?
:hattip:August 7, 2008 at 4:26 am #774892AnonymousInactive[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.
August 7, 2008 at 5:47 am #774895AnonymousInactiveThat’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: -
AuthorPosts