![]() |
Thread: Trying to separate my football fanatics feed |
|
Tools | Search |
|
#1
|
|
|
So I'm new to the whole affiliate marketing as well as only a middle level web designer. I'm trying to import the 7124 feed for Football fanatics into my site, but i have never worked with datafeeds. I wantt to pull the pittsburgh oriented apparel only and have it separated into apparel types.
not sure how to even go about this, I've tried golden can but they only go down far enough to get the city and brands, the apparel is combined together. Im also hosted on blue host and have tried to figure out how to create a new table in phpmyadmin but not even sure what to put in the fields lol sry if anyone can shed some light on this it would be great. would i have to manually pull the pittsburgh info from the feed into a new feed and uplaod them seperatley? |
|
|
|
|
#2
|
|
|
I really don't have a solution for you, I'm sorry to say. But I, too, have struggled with the FF datafeed and wanted to alert you to another issue -- it is absolutely HUMONGOUS in size.
Working with that particular feed has always been difficult for me because most of the software and the hosting I have are highly stressed trying to deal with the size of the thing. Perhaps someone else here will come by and offer some suggestions that we can both benefit from. I would just caution you that, if you have a shared hosting account rather than a VPS or dedicated server, you may over-stress your blue host account resources. Gary
__________________
"I'm running so far behind today I can't remember whether I found a rope or lost a horse." -- Author Unknown. |
|
|
|
|
#3
|
|
|
Might I suggest Popshops.
__________________
New design, same blood-curdling content: theHoundDawgSportsBlog aarf "If you don't have time to do it right, when will you have time to do it over?" -John Wooden; "It's inexcusable for scientists to torture animals; let them make their experiments on journalists and politicians." -Henrik Ibsen |
|
|
|
|
#4
|
||
|
Dealing with the Football Fanatics datafeed can definitely be a challenge because of its size. It is a great feed, but it's just a monster -- my script utilizes over 700 lines of code to do with it what I want (I have entire sites running off less code, lol). But all that is done by choice - I split out every sport into its own table (so my server's not searching the entire feed each time), as well as making other specific changes.
It's possible to import only the Steelers data, but it more depends on the ability of your server to process the feed. Once you get the 7124.txt file on your server, you can try running this (untested). Put it all in a .php file (name it whatever). Final table created will be fanatics_steelers. PHP Code:
__________________
|
||
|
||
|
#5
|
|
|
The feed can definitely be unwieldy - if you are looking to work with subsets of the feed (say Steeler's Jerseys) I'd recommend working with a 3rd party tool like the Basket/Make A Page together in ShareASale or PopShops - we're working on getting the internal feed builder back up and running, which can make breaking the feed into manageable pieces much easier , but for now, that is the best I can do.
__________________
Wade Tonkin - Affiliate Manager FootballFanatics.com/SurfFanatics.com wtonkin@footballfanatics.com |
|
|
|
| Thanks From: |
|
#6
|
|
|
It really all depends upon your programming ability. Working with large databases is easy, working with large datafeeds can be a problem because php can time out and so you don't finish processing the datafeed. But with this being said, your first step before working with the datafeed is to get your mysql database set up. Figure out how to do that first. It makes your life much easier and your program running faster if you get the data you need out of the datafeed and into a database.
The next step is to get the data from your database and into your website. Once you do that, then you should move into getting the data from the datafeed to your database. The way to do that is simple, you pull out each line from the datafeed one at a time, then see if it the team you want and then you put it into the database. But if even this is too much for you at this time, the simplest way is to download the datafeed to your computer and then put it into a spreadsheet. The spreadsheet has a query that'll let you sort out the teams you want If the feed is huge DON'T USE IT. It'll take forever. I know I have tried. So you ask, how do you get the info I need. OK, what you do is this, put an empty column or one you don't care about and use the find function, looking for the team name in the field that'll contain the team names. This will give you the char count of where the team name is or an ERR if it isn't in the field. Copy this code to all the rows in that column. It'll take less than a minute to do them all then use the convert to value on that column and sort it. Everything with a number (the ones with your teams name will float to the type, the ERRs will float to the bottom delete all the rows with ERRs and you'll have all the info you need. Next step is to sort on what order you want them in. After that use the concatenate function to make HTML code for each product. The copy and paste the code into your website. It takes a bunch of steps, but it will work and this is the fastest way to do it without coding. I hope I'm making sense, I know what I'm talking about I used to do it that way. |
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Tools | Search |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Football Fanatics | malcolmdh | Commission Junction | 1 | May 24th, 2005 03:13 PM |


aarf 



