-
- 59 Posts
Hi,
My aim is to present spreadsheet data-feeds (.txt or .xml) in HTML.
The REVO extra getFeed would serve my purposes, but I am on EVO.
Here is what I came up with so far:
1) My data-feeds are in .txt.
2) My column headings are for example:
- id
- property type
- minimum rental period
- location
- price
3) I have multiple data-feeds with different column headings in each.
4) I have the HMTL chunk written for how I wish to present the data-feed details for each record on my website.
5) For the HTML chunks did I use "placeholders" (similar to how I would use template variables) for each of my column headings (so for example, a placeholder would be "property type").
6) My question is where to store the data-feed spreadsheet on my server and MODx?
7) Another question, the big question, since I cannot use getFeed, is how to have the HTML chunk call on the data-feed spreadsheet to grab the details of each record? I guess I would need a snippet and make a call from my template in which I place the data-feed chunk?
Any advise (possible extras, snippets) to help me think and act in the right direction is much appreciated.
-
- 295 Posts
why dont you store them in a modx database using MIGX? much easier to do than scraping data from an xml or txt file which is very old fashion way of doing it.
-
- 1,198 Posts