Hot answers tagged

4 votes
Accepted

Old Posts Not Appearing in XML Sitemap

Default limit is 100, try adding .limit(null) to the query
user avatar
  • 1,332
1 vote
Accepted

Running custom query save result to xml file

Sounds like a pretty simple custom Craft plugin. You'd add a controller to your plugin and an action method and allow anonymous access to it. Your method would run any queries you need and save the ...
user avatar
  • 66.3k
1 vote

Converting nested XML (SOAP) feed to HTML

Still not quite sure I understand the problem completely, but here are some ideas to get you started. Your workflow requires three steps: Fetch the XML data from the external API. Parse the XML (the ...
user avatar
  • 5,985
1 vote

Craft 3 FeedMe - Help accessing deeper XML nodes

I think your problem is that <listitem xml:id="A50-3487-2"> has an attribute, so you would need to use <p>{{ node.itemizedlist.listitem['@'].para }}</p> to get the node value. See ...
user avatar
  • 839
1 vote

Using XMLReader With Plugin

You need to be in the correct namespace try $reader = new \XMLReader(); Like here
user avatar
1 vote

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

I accidentally had loop inside of the description tag which strangely caused only 17 entries to post to the RSS feed. Below is an example of what was causing the issue: <description><![CDATA[...
user avatar
  • 33
1 vote
Accepted

FeedMe plugin and weather.gov XML

This would be up to the FeedMe plugin. It looks like they're using cURL directly, so they would need to either directly set CURLOPT_USERAGENT or allow for it to be configured via a setting. Feel ...
user avatar
  • 66.3k

Only top scored, non community-wiki answers of a minimum length are eligible