Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [xml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Dynamic feeds with Feed Me

I am trying to create dynamic feeds from config/feed-me.php with following code: $files = glob("/feeds/*xml"); if (is_array($files)) { $cnt = 1; foreach($files as $key => $filename) { ...
1
vote
1answer
39 views

Using XMLReader With Plugin

In my project, I have a reference to XMLReader in a plugin; however, I get this error message: Class 'Craft\XMLReader' not found Here is the code which calls it: $reader = new XMLReader(); Can ...
1
vote
0answers
102 views

Paginate Results from Restful XML Feed

I'm beginning with Craft/Twig and am developing a plugin that gets data from a Restful XML feed, and I've successfully tested it on my template. Below, I have the working plugin code and a sample of ...
1
vote
1answer
97 views

Not All Entries showing in feed page but do show in Page Source XML

Creating an RSS feed in craft and I have it to loop through all the entries via: {% set sermons = craft.entries.section('sermonEntry').limit(null).find() %} {% for sermon in sermons %} On my ...
1
vote
1answer
102 views

FeedMe plugin and weather.gov XML

This should have been simple. A client's site is required to display current weather observation data retrieved via XML from w1.weather.gov. My solution was to use the on-demand features of FeedMe ...
3
votes
1answer
140 views

Old Posts Not Appearing in XML Sitemap

Running into a strange issue with the XML sitemap on our site that I'm hoping for help with. Here is example code for the blog section of our site in our sitemap: {% set blogPosts = craft.entries....
0
votes
1answer
147 views

Running custom query save result to xml file

For an upcoming project one of the requests is that the client needs to be able to run a few custom queries on a specific section (queries are fixed, we know what these will be in advance) and then ...