Questions tagged [xml]

The tag has no usage guidance.

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

How to use Fetch plugin for SOAP API requests

I trying to use the Fetch plugin to get the response for SOAP API requests. But it doesn't work. I didn't use this before, not sure which part doing wrong, and can I use the Fetch plugin for SOAP API? ...
2
votes
2answers
64 views

Craft 3 FeedMe - Help accessing deeper XML nodes

I'm importing data from an XML file. I'm having trouble accessing some of the deeper nodes in the xml file. Example of my xml here (chapter being the repeating item): <article xmlns="http://...
0
votes
0answers
44 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
41 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
113 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
103 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
109 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
145 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
161 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 ...