Questions tagged [xml]
The xml tag has no usage guidance.
7
questions
2
votes
2answers
74 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://...
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
133 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
106 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
112 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
151 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
171 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 ...