Import Command
The import command is triggered either via your webbrowser or via a cron job on your server. The import is run by triggering the Open-Realty™ action addon_transparentRETS_loadRETS. For example after logging into your Open-Realty™ install you can enter http://www.mysite.com/admin/index.php?action=addon_transparentRETS_loadRETS into your web browsers address bar to trigger the loader.. The loader will then run, writing to the Open-Realty™ log as it downloads and imports your data.
Cron jobs
Cron jobs are a way to trigger the loader on a set time basis without having to manually login to your site. The command that you want your cron job to execute would be the following. Make sure to replace ORADMINUSER with your Open-Realty™ admin user name, ORADMINPASSEORD with your password, and replace yourdomain.com with your real domain name and any additional path elements.
If you are unsure of how to create a cron job with your hosting account, you should contact your host for details as this varies between servers and control panels.
curl -d "user_name=ORADMINUSER&user_pass=ORADMINPASSEORD" http://www.yourdomain.com/admin/index.php?action=addon_transparentRETS_loadRETS
Optional Modifiers
ONLY add modifiers when needed. Please note that when adding modifiers to the curl command you must escape the &in the modifier with a \. Please note that your last modifies Time will still be updated when you use a modifier so use them with caution. These should only be used when directed by Transparent Technologies staff.
Skip Data Import - To skip importing update data this run add the following to your command.
&photoupdate_only=1
Skip Image Import - To skip importing photos for this run, add the following to your command.
&listingupdate_only=1
Skip Cleanup - This will skip the cleanup routine, leaving any old listings in your database. This will also prevent us for double checking for missing listings.
&skipcleanup=1
Change Last Update Time for Photos - This can be used to import missing photos, if you accidentally delete photos off your site. Using a time stamp of 0 will result in all images being downloaded. Other then 0 your time stamp should be a UNIX time stamp in GMT for the date/time you wish to import all modified photos from.
&photo_last_update=TIMESTAMP
Change Last Update Time for Listings - This can be used to import missing listings or used if you modify your import criteria. Using a time stamp of 0 will result in all listing data being downloaded. Other then 0 your time stamp should be a UNIX time stamp in GMT for the date/time you wish to import all modified listings from. This Flag is not needed in normal operations, we automatically send the time of the last successfully import. IF your MLS does not have a Listing Photo Timestamp field in the data to search for listings with modified photos, this will also effect the photo import.
&listing_last_update=TIMESTAMP
New In TransparentRETS 1.2
Remove All Existing Open-Realty Listing and RETS metadata - This command will DELETE ALL existing Open-Realty listings from your database. It will also remove all cached meta data, and class configuration information about your RETS server leaving only your basic login information intact in TransparentRETS.
&action=addon_transparentRETS_cleanTables
Remove All Existing Open-Realty Fields - This command will DELETE ALL existing Open-Realty fields from your database. This is not reversible and should be used with extreme caution. It should be used in combination with the cleanTables command above.
&action=addon_transparentRETS_cleanAppFields
|