Support Forums

Oodle external feeds

This is a discussion on Oodle external feeds within the Modules / Plugins / Modifications forums, part of the Developer Forums category; I found this thread, with an external.php file created just for Oodle feeds (oodle_external.php). I tried this and it does ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 06-18-2008, 06:25 PM   #1
Senior Member
 
Join Date: Jun 2007
Posts: 110
Rep Power: 20
crystal is on a distinguished road
Default Oodle external feeds

I found this thread, with an external.php file created just for Oodle feeds (oodle_external.php). I tried this and it does not work with v4. Does anyone have an update to get this working with v4? I would really like to use this on my site!

http://www.68classifieds.com/forums/...ead.php?t=4110

Thanks
__________________
Crystal
v4.0.8 Dev

Last edited by crystal; 06-18-2008 at 06:29 PM.
crystal is offline   Reply With Quote
Old 06-18-2008, 08:39 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

From glancing at that file I believe it should work with one minor change.

Find ".PREFIX."products and change to:
".PREFIX."listings
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 06-21-2008, 06:07 AM   #3
Senior Member
 
Join Date: Jun 2007
Posts: 110
Rep Power: 20
crystal is on a distinguished road
Default

Thanks Eric! That got the feed working.

Is there any documentation on external.php? I need to add the location (city, state, zip) to my feed.

Thank you!
__________________
Crystal
v4.0.8 Dev
crystal is offline   Reply With Quote
Old 06-21-2008, 10:41 AM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Here is the only documentation available:
http://www.68classifieds.com/knowled...cle/rss-feeds/

The city and state are being pulled from the database. You can use these variables and place them where you want:
$listing['city']
$listing['state']

To add the zip you just need to add it the query:
u.state, u.city, u.country FROM ".PREFIX."listings
to
u.state, u.city, u.zip, u.country FROM ".PREFIX."listings
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 02-17-2009, 09:43 AM   #5
Senior Member
 
bgordon's Avatar
 
Join Date: Aug 2006
Location: Georgian Bay, Ontario Canada
Posts: 170
Rep Power: 24
bgordon is on a distinguished road
Default

Ok... I downloaded the file and made the changes to make it compatible with v4 but am a little lost on how to show 'extra' field (from their array) values in it?

For example I have an extra field where sellers specify the currency. I know it's id but am not sure how to call it for display in the loop. Right now there is a static field for currency with USD. I need to replace that with the actual extra field value from the listing.

BTW... for those of you who want the version 4 of this script, I will include it as an attachment. I made the changes to the tables etc that make it work with V4.

Hope someone can help me customize it a little bit more to meet my needs. I am sure that others will want to display some of their extra field values in the oodle feed too. Once I figure it out, I will post the new code for the community with the edits explained.

PS: For some reason (likely security) I was unable to upload the file as oodle.php. I renamed it to oodle.txt
You will need to save it as oodle.php in your root 68c directory and it should work for you.

Can anyone show me specifically what code I need to add or modify to show extras from ID4 for example?
Attached Files
File Type: txt oodle.txt (9.8 KB, 3 views)
__________________
B. Gordon
v.4.0.9 Developer
bgordon is offline   Reply With Quote
Old 02-17-2009, 09:57 AM   #6
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

That documentation link should be:
Documentation RSS

However, I'm sure Eric just forgot that I have a more extensive documentation on my blog here:
Using The RSS Feed

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 02-17-2009, 10:05 AM   #7
Senior Member
 
bgordon's Avatar
 
Join Date: Aug 2006
Location: Georgian Bay, Ontario Canada
Posts: 170
Rep Power: 24
bgordon is on a distinguished road
Default

Thanks.. I just visited your blog but it does not mention anything about showing extra field values... am I missing something... I did learn that I can throw arguments in the command line to filter the results returned (cool). Thanks for that... I saw the code for that but did not know how to call it.

Anyway, any light you could shed on the extra fields thing would be greatly appreciated.

Thanks
__________________
B. Gordon
v.4.0.9 Developer
bgordon is offline   Reply With Quote
Old 02-17-2009, 10:24 AM   #8
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Have you ever actually used oodle to try and locate something of interest? CRAP! its filled with utter crap and stuff in the wrong categories etc. There is stuff from sites that is totally misleading, you click a link that says "BUY THIS" and it takes you to some spam money making ad.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 02-17-2009, 10:29 AM   #9
Senior Member
 
bgordon's Avatar
 
Join Date: Aug 2006
Location: Georgian Bay, Ontario Canada
Posts: 170
Rep Power: 24
bgordon is on a distinguished road
Red face

Fair enough... I have never actually evaluated the effectiveness of having the ads there... I personally don't search oodle for anything. That being said though, I have been pushing ads to oodle for over a year and my clients are used to seeing it so in my launch of a new 68c site, I wanted to keep the same exposure. I know I can do it now with the file but I really need to show the currency as what it is.

It will be far easier just to send them the ads then try to explain to my clients why oodle sucks.
__________________
B. Gordon
v.4.0.9 Developer
bgordon is offline   Reply With Quote
Old 02-17-2009, 10:33 AM   #10
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by Lhotch
Have you ever actually used oodle to try and locate something of interest? CRAP! its filled with utter crap and stuff in the wrong categories etc. There is stuff from sites that is totally misleading, you click a link that says "BUY THIS" and it takes you to some spam money making ad.
Yep, couldn't agree more! What do you expect from a site that is completely free and allows/accepts feeds from anyone?

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oodle and Edgeio? flyingpylon Site Marketing 3 03-10-2007 11:18 AM


All times are GMT -4. The time now is 01:43 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0