User Tools

Site Tools


tutorials:feeds:oodle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:feeds:oodle [2010/07/27 18:32]
jonyo
tutorials:feeds:oodle [2015/08/03 17:49] (current)
geojames
Line 1: Line 1:
 {{indexmenu_n>20}} {{indexmenu_n>20}}
 +
 ====== Oodle Feed ====== ====== Oodle Feed ======
  
-You can find the Oodle feed in your software, named **oodle_feed.php**.  The Oodle feed comes "turned off" when you first install the software, since the Oodle feed can get pretty big on large sites and potentially take a lot of resources to generate. +The [[startup_tutorial_and_checklist:feature_configuration:exporting_listings:rss_feed:pushing_listings_to_oodle|oodle feed tutorial has been moved here in the support wiki]]
- +
-**Resources:** +
-  * [[http://www.oodle.com/info/feed|What is an Oodle Feed?]] < +
-  * [[http://www.oodle.com/submitfeed|Oodle Feed Submission]] < +
-  * [[http://www.oodle.com]] < +
- +
-<tip c n>**Note:**  The Oodle feed in the software only generates the feed, that can be submitted to Oodle.com to possibly show your listings on oodle.com's site.  There is no guarantee that the submitted listings will be accepted, the decision on if a submitted feed is accepted or not is solely up to oodle.com.  See the documentation on their site for more information on the best ways to get your Oodle feed accepted.</tip> +
- +
-===== How to Enable Oodle Feed ===== +
- +
-These instructions will walk you through the steps needed, to allow the the Oodle feed to be submitted to oodle.com for possible acceptance.  These are the **minimal steps only** to simply turn it on.  There are additional settings that you can use to further customize how your Oodle feed is generated. +
- +
-**Skills** +
-  * Comfortable with using FTP (to upload and download files from your site) < +
-  * Basic understanding of how PHP works will help, but not necessary. < +
- +
-**Instructions** +
-  - In the "base" of where the software is installed, the same folder that the **oodle_feed.php** file is located, **create a new file** named **oodle_feed.config.php**.  This file will overwrite the settings in the oodle_feed.php file, without actually editing that file, so that the setting changes we make will not be un-done when the software is updated.  In the file, add the contents:<code php><?php +
-//oodle_feed.config.php - settings for the oodle_feed.php feed +
- +
-//turn the feed on: +
-$enabled = 1; +
- +
-//the maximum number of listings to use: +
-$feed->maxListings = 5000; +
- +
-</code>+
-  - In the file, change the number "5000" to be much larger than the maximum number of listings your site could have.  If it is not large enough and your site has more classifieds that that, some of your site's classifieds might not be included in the feed. < +
-  - Save the file and upload it, remember it should be located in the base of the Geo installation, in the same folder as **oodle_feed.php** file. < +
-  - View the **oodle_feed.php** file in your browser, for example if your software is installed on **example.com** then in your browser, go to <nowiki>http://example.com/</nowiki>**oodle_feed.php** +
-    * Do you see a bunch of stuff displayed?  If you see something on the feed((It may not make any sense to you, since it is formatted to be "read" by oodle.com not by you)), your feed should be working, you can now submit your feed to oodle.com. < +
-    * If you get a blank page, something did not go right, your feed might not be properly turned on.  Make sure you are viewing **oodle_feed.php** and NOT the config file you just created, the config file should not be viewed directly. +
-+
- +
-===== Troubleshooting ===== +
- +
-The Oodle feed is going to be displaying every single classified found on your site.  If you have a lot of classifieds, the more you have the better chance that there will be a problem with displaying them all.  If your site is having trouble displaying all of the listings, follow these instructions to find how to fix. +
- +
-  - In your **oodle_feed.config.php** file, add the lines: <code php>$feed->debug = true; +
-ini_set('display_errors','stdout');</code>+
-  - View the oodle feed in your browser, it should show the oodle feed inside a textarea.  Be patient and wait for it to finish loading, it will take a long time to load on sites with a lot of classifieds.  Scroll to the bottom to see what the error message is (if there is any). < +
-  - Based on the PHP error message that is generated, you will know what needs to be adjusted to allow more of your listings to display.  For instance, if it says it reached the maximum memory_limit, you would raise the memory_limit set in your **php.ini** setting file for the server.  You may need to contact your host to make configuration changes like this, or may need to make the changes in your hosting control panel, depending on how the host is set up. < +
  
-TODO:  Document category map 
tutorials/feeds/oodle.1280255571.txt.gz · Last modified: 2014/09/25 16:55 (external edit)