GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tech in need of help Json related + WP (https://gfy.com/showthread.php?t=1150889)

pinkz 09-28-2014 03:38 AM

in need of help Json related + WP
 
Any one here who could write me a script to parse Json data to a static html page?

if so how much (no sexual favours)

At the same time I am trying to use "JSON Data Shortcode" plugin for a WP 4.0 install with no success, (example codes supplied with plugin work fine). The Json data requires a "callback function" to work correctly but I have no idea where to add the callback within the code or if the plugin has this function included, any help greatly appreciated.

just a punk 09-28-2014 03:41 AM

What exactly parts of JSON output you want to show as HTML? E.g.:

Code:

<?php
var_dump(json_decode($json));
?>


pinkz 09-28-2014 03:50 AM

Quote:

Originally Posted by CyberSEO (Post 20236938)
What exactly parts of JSON output you want to show as HTML? E.g.:

Code:

<?php
var_dump(json_decode($json));
?>


sorry that just goes straight over my head!

the Json data is a schedule and is made up of multiple data keys

my example code for WP plugin:

[json src="base url/dir/?return=json" name="today"] Text
[json name="today" Data.Key="mykey" /]{Data.mykey}
[json name="today" Data.Key="mykey1" /]{Data.mykey1}
etc
etc

just a punk 09-28-2014 03:55 AM

I have no idea what "JSON Data Shortcode" plugin is and how it works. On the other hand, it could be easy to write a custom plugin for that (I mean for your particular JSON source).

pinkz 09-28-2014 04:03 AM

how much and will it also work on a static html page IE not wp?

woj 09-28-2014 04:03 AM

If you still need someone, icq: 33375924 or email me at woj#a#t#wojfun#.#c#om to discuss details

just a punk 09-28-2014 04:07 AM

Quote:

Originally Posted by pinkz (Post 20236944)
how much and will it also work on a static html page IE not wp?

The plugin will work on WP only (because it's a plugin), but if you want, I can do script which will work w/o WP (to be used in your HTML pages). Email me if you are ready to spend a few tens of buks: cyberseo@cyberseo.net

pinkz 09-28-2014 04:19 AM

Quote:

Originally Posted by CyberSEO (Post 20236948)
The plugin will work on WP only (because it's a plugin), but if you want, I can do script which will work w/o WP (to be used in your HTML pages). Email me if you are ready to spend a few tens of buks: cyberseo@cyberseo.net

:thumbsup, will mail you soon cheers

pinkz 09-28-2014 04:49 AM

cyberSeo you have mail.


All times are GMT -7. The time now is 08:21 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123