Easy Property Listings WordPress Real Estate Plugin › Forums › Basic Support › Unable to load template EPL – Content
Tagged: date import, feedsync, reaxml, WP All Import Pro
- This topic has 9 replies, 3 voices, and was last updated 9 years, 2 months ago by Merv Barrett.
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
December 10, 2014 at 12:08 pm #3533chrisSpectator
Hello,
Trying to load a template file as per step 3 http://www.realestateconnected.com.au/tutorial/how-to-import-reaxml-files-into-your-wordpress-real-estate-website/ but it doesn’t seem to do anything. I manually copied the data from the image but received this error
Date template is invalid: Call to undefined function "rec_feedsync_date"
Any ideas what to try next?
Cheers,
ChrisDecember 14, 2014 at 4:01 pm #3561Merv BarrettKeymasterWP All Import was updated to 4.0 and the templates are no longer added as per the tutorial. We are adding the new import scripts.
To solve your other issue you need to rename rec_feedsync_date to epl_feedsync_format_date
December 15, 2014 at 10:15 am #3570chrisSpectatorDo you have an ETA for the import scripts?
- This reply was modified 9 years, 4 months ago by chris.
December 16, 2014 at 8:53 am #3619Merv BarrettKeymasterThe current scripts work just fine but need you to tweak how you perform the import.
Will be releasing the next version of the plugin with new scripts after christmas as am away on break.
You can use the current template as explained below with WP All Import Por version 4.0+
1. Import the scripts from the settings page.
2. Create a new import.
3. Select Download from URL.
4. Enter the URL to the REAXML file and press Download.
5. Under New Items > Create new select the listing type eg Properties/Rentals/Land etc.
6. Continue to Step 2.
7. In the box to the left What element are you looking for? find residential.
or… as the bottom press Add Filtering Options. and in the XPath field type /residential.
8. Continue to Step 3.
9. At the bottom Load the template EPL – Property (residential). This will be missing the Title and description.
10. Insert in the title: {address[1]/streetNumber[1]} {address[1]/street[1]}, {address[1]/suburb[1]} {address[1]/state[1]} {address[1]/postcode[1]
11. Insert in the description: {description[1]}
12. Open the advanced options and tick Keep line breaks from file.
13. Click the Images tab and copy the list of image nodes.
14. Press the radio option Download image(s) hosted elsewhere and paste the image nodes in that new box.
15. Check the node format from your XML file preview. Sometimes is: {images[1]/img[1]/@url}, or {objects[1]/img[1]/@url}, or {objects[1]/img[1]/@file}
16. Open the Taxonomies, Categories, Tags box.
17. Click Suburb and Each Property has just one Suburb and insert {address[1]/suburb[1]} in the box.
18. Click Features and Each Property has multiple Features and insert {features[1]/otherFeatures[1]}
19. Tick at the bottom Save settings as a template and give it a name.
19. Continue to Step 4.
20. Add {uniqueID[1]}{./@modTime} to the Unique Identifier field.
21. Open the Configure Advanced Settings and reduce the In each iteration, process to 10. (Each listing can have upto 26 images in REAXML and your server may timeout).
22. Press Continue.
23. Press Confirm and Run Import.24. Repeat the process for Rentals/Land using the other templates. Land uses the Property template.
Export the templates you saved, zip them up and post them here for future reference.
December 16, 2014 at 10:23 am #3624chrisSpectatorThanks Merv,
That works perfectly. Just two last questions:
- How do I export the template files and
- How do i enable to Geo-coding for the map?
December 16, 2014 at 11:41 am #3626Merv BarrettKeymasterGlad to help,
1. How do I export the template files
– Dashboard > All Import > Settings: Select the new ones and press export. You’ll get a txt file. Just zip it and attach here.2. Geo-coding:
– FeedSync can add the geocode results. Open the settings.php and turn off to on.
– Some REAXML files have geocoding already, you need to add them to the property_coordinates.
– Zip up one of your XML files and post here. Then I can give better instructions to you.January 12, 2015 at 11:30 am #4026January 12, 2015 at 4:46 pm #4028Merv BarrettKeymasterExcellent thanks. I’ve completed them also. Just finalizing EPL 1.3 and code. We are almost ready!
February 15, 2015 at 8:57 pm #5203MarkSpectatorHi Merv
I’ve been trying to hunt down the source of duplicates after following these instructions with WP All Import Pro 4.1 and EPL 2.0.3.
Can I ask why the unique identifier should include modTime? That would suggest that any modification will result in a new UID.
Cheers
February 16, 2015 at 7:49 am #5207Merv BarrettKeymasterFor speed of import and the limitation of WP All Import.
You see sold/leased listings are not an issue as they are rarely updated down the track.
You can set WP import to use just the uniqueid but then you must update all data each and every time including images.
Or use (example only as I am not looking at the importer right now)
{Uniqueid}{modtime}
Which deletes the old record and impors new when properties are changed allowing a more frequent import schedule that completes is a couple minutes.
We are working on our own importer but are a few weeks away.
-
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
- The forum ‘Basic Support’ is closed to new topics and replies.