Fetching Data to HTML/PHP

67 views
Skip to first unread message

gcreat...@gmail.com

unread,
Feb 20, 2018, 12:29:14 AM2/20/18
to DGCSC XML Developers
Hi Guys,

Is there anyone here had success on integrating this into a php code directly? Actually, I wanted to fetch this data on a header of my wordpress website.

Best Regards,
Mikhail Villamor

DGCSC XML Price Service

unread,
Feb 20, 2018, 9:10:49 PM2/20/18
to dgcsc-xml-...@googlegroups.com
Here is an example of fetching the data with JavaScript in the header
of your page

https://xml.dgcsc.org/ajax.htm
> --
> You received this message because you are subscribed to the Google Groups
> "DGCSC XML Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dgcsc-xml-develo...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

DGCSC XML Price Service

unread,
Feb 21, 2018, 7:40:22 AM2/21/18
to DGCSC XML Developers
Here is an example using PHP

Maeve Lander

unread,
Jun 11, 2020, 1:36:26 AM6/11/20
to DGCSC XML Developers
 Actually, I wanted to fetch this data on a header of my wordpress website.

Here's a WordPress plugin I built which fetches and displays the feed data. https://wordpress.org/plugins/gold-price
It may be an option for you, or you can use the code as a reference for your own integration.
Reply all
Reply to author
Forward
0 new messages