Here is the first release of my Wordpress plugin for creating a Trulia compatible XML feed of properties. The feed can be submitted to Trulia and subsequently used for creating a Trulia Map of your properties.
The current version of the plugin is 0.3 and can be downloaded from the following links:
Features
- Table creation in the Wordpress Database
- Image uploading
- Image resizing
- Database stored images
- Trulia compliant feed generation
- Post creation with the property details
- Property editing and deletion
- Feed Caching
Important Notes
- Requires GD library to be installed
- The user inserting the properties must be of admin level - users of other levels (author etc) can insert and it works fine except for some reason all the div tags are stripped of their classes when creating the post, so the post comes out un-styled (very strange)
- Although form input is cleaned, html tags are not removed as it is assumed that a trusted person will be using the plugin as a post is created in the blog
- Remember to edit the property posts via this plugin and not directly in Wordpress - of course you can if you want, but if you do and then later change the post via this plugin any changes will be overwritten
Installation Instructions
1.
Upload the files to following directories -
The trulia-feed-creator directory goes into /wp-content/plugins/
tfc_template.php goes in your theme directory /wp-content/themes/your_theme/
2.
Activate the plugin via the admin plugin menu
3.Create a new page (has to be a page not a post) and insert the following into the content of the page:
[TRULIA-FORM]
4.Create a second new page, don’t put anything in the page content, and choose ‘Trulia Feed Creator’ from the Page Template menu
5. Navigate to the page you created in step 3 (you will need to log in), and start adding properties. Properties will appear as blog posts in a category named ‘properties’
6. The feed is available from the page you created in step 4, this is the URL you should submit to trulia and will be a raw XML file
Styling
- To change the CSS styles edit -
trulia-feed-creator/resources/style.php - To change the layout of the post that is created from the property, edit -
trulia-feed-creator/resources/post_content.php - The width of the form selects have been set to 80px in the stylesheet as the default wordpress theme sets all selects to 130px which was screwing up the layout, change this if it’s not suitable
Thanks
The following plugins/resources were helpful in the creation of this plugin
- Contact Form ][ by Chip Cuccio
- Jason’s Date Input Calendar
- A modified version of wp-mail.php that I cannot find the link for, so thanks whoever you are
- Numerous pages from the Wordpress Codex
Feedback
If you have any problems, comments, modifications or any other feedback please contact me using the comments below
Dave Flynn



Hi,
Do you have a website where this plugin is being used? Does it display the Trulia feed in the realtor’’s website or simple enable a form in the realtor’’s site so they can upload listings to Trulia?
Thanks!
Hi Don,
The plugin is being used at http://www.memphisagent.net/properties I really should set up a demo I know. The plugin both displays properties on the website as blog posts in a ”Properties” category, and creates a feed that you can submit to Trulia. You”d have to add the Trulia map yourself once you”ve submitted your feed to Trulia, but this is easy as Trulia provides all the HTML you need.
Dave
The links for the downloads are out of order at the moment. Nice one for creating this - been thinking about it myself!
The download links should be working again now. I’ve moved from Typo to Mephisto to Wordpress so things have been a mess here.
[...] Update: The plugin has been released and can be downloaded from this page [...]
[...] Update: The plugin has been released and can be downloaded from this page [...]