Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.
-
AuthorPosts
-
-
June 23, 2022 at 3:30 pm #5378
Hi,
One more question i saw the shortcodes for post custom field. But if i want to import a specific field from the RSS XML like gdacs:year for example from this XML https://www.gdacs.org/xml/rss_eq_5.5_3m.xml. Is that possible? and if it is possible, how must i describe it in the settings?
Thanks in advance for your great support!
-
June 23, 2022 at 3:52 pm #5379
Hello,
Yes, importing custom fields from RSS custom tags is possible.
You need to parse the RSS feeds and extract the custom tags, as shown in this tutorial video: https://www.youtube.com/watch?v=a4BMWi2tCGQ also: https://www.youtube.com/watch?v=FUb4NDb_1yE
To assign these values to custom post meta, please check this other video: https://www.youtube.com/watch?v=GMIojmlI9fA
Regards, Szabi – CodeRevolution.
-
June 24, 2022 at 7:29 am #5380
<div>Thank you! This is a fantastic option! I just couldn’t get a specific code yet. It’s about:</div>
<div></div>
<div class=”line”><span class=”html-tag”><gdacs:severity<span class=”html-attribute”> <span class=”html-attribute-name”>unit</span>=”<span class=”html-attribute-value”>M</span>”</span><span class=”html-attribute”> <span class=”html-attribute-name”>value</span>=”<span class=”html-attribute-value”>5.6</span>”</span>></span>Magnitude 5.6M, Depth:10km<span class=”html-tag”></gdacs:severity></span></div>
<div></div>
<div>It does work to retrieve gdacs:severity as custom_gdacs:severity But I would also like to retrieve the Value as 5.6. I’ve already tried something like custom_value or custom_magnitude but it didn’t work yet. Is this possible?</div>
<div></div>
<div>Thanks again!</div> -
June 24, 2022 at 8:02 am #5381
Hello, Solved this.
I was forgot the * as the space.
Thanks for your support!
-
June 24, 2022 at 9:25 am #5382
I am glad to hear that it works!
Regards.
-
-
AuthorPosts
The topic ‘post custom field’ is closed to new replies.