Convert Javascript to PHP Code to get JSON Data from API

Ολοκληρωμένο Αναρτήθηκε Feb 5, 2015 Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

I am currently getting JSON data from an API. The data is being parsed with Javascript. Everything works the way it should with the JS code, but I need to retrieve the JSON data from the API on the server side in PHP. I need the current javascript variables to be PHP variables that I can call on the page to get the values I need in order to set the page title, META description and META keywords for each item.

There are 4 PHP files that display data and 1 PHP file with the "master" javascript that retrieves data from the API. These are the only files that should need to be modified.

I will provide the 5 PHP files with Javascript code in-lined and the API documentation. The JS code is commented and described in each file. Using the javascript method, everything is working perfectly except for the following:

- page title is being changed after page load (bad for SEO and indexing)

- need to create a META description tag using info from variables in the JSON data

- need to create a META keywords tag using info from variables in the JSON data

Since these variables need to be unique and come from the server side, using javascript to parse the API, while 100% working, is not really an option.

Retrieving the JSON data from API using PHP and then storing the current javascript variables as PHP variables should solve this issue.

HTML JavaScript jQuery / Prototype PHP

Ταυτότητα Εργασίας: #7091775

Σχετικά με την εργασία

28 προτάσεις Απομακρυσμένη εργασία Ενεργό Feb 5, 2015

Ανατέθηκε στον:

simik

Hi! I can rewrite the API calls from javascript to PHP for you. I can do a sample page change and host it at my website so you can I see I can do the job. Send me the pages via chat, and I'll do it in a few hours.

$255 USD σε 2 μέρες
(41 Αξιολογήσεις)
4.9

28 freelancers κάνουν προσφορές κατά μέσο όρο $480 για αυτή τη δουλειά

kchg

Hi, I am a top 7th full-stack freelancer. Please get in touch and discuss in detail. I can get started right now. Thanks. Sincerely!

$721 USD σε 10 μέρες
(263 Αξιολογήσεις)
8.7
superior5

George here based from Los Angeles, USA. I am expert in desired skills for this project and have done similar tasks already. Please get back to me, so I can show you some of the work I have done.

$747 USD σε 9 μέρες
(172 Αξιολογήσεις)
7.9
rinsadsl

Hi Good Day I have worked a lot with JSON data parsing with API. I clearly understand what you need. I can do it on a fair price. Looking forward to hear from you. Thanks Rinsad

$263 USD σε 4 μέρες
(483 Αξιολογήσεις)
7.7
rajeshsonisl

Hello! With 99% completion rate, 750 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u Περισσότερα

$473 USD σε 2 μέρες
(567 Αξιολογήσεις)
7.6
neoconcepts

expert api developer here. i can fetch jsaon api by php and do further processing. ready to start. thanks

$555 USD σε 10 μέρες
(130 Αξιολογήσεις)
7.4
mituld

Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks

$515 USD σε 15 μέρες
(179 Αξιολογήσεις)
7.4
marchingantssl

Hi there, I’ve read your brief and I am really willing to work with you. I am just interested in more details that you might give about the project. We have enough experience to help you with this project, o Περισσότερα

$368 USD σε 11 μέρες
(139 Αξιολογήσεις)
7.1
programer218

Hello. I am a PHP developer. I can work for you. Please look my reviews and send me a message. Thank you.

$526 USD σε 5 μέρες
(121 Αξιολογήσεις)
6.9
mobiletech1604

Hi there Thank you for posting this project. I could complete this project within 5 days. Looking forward to hear from you. Thanks & B/R

$722 USD σε 7 μέρες
(22 Αξιολογήσεις)
5.9
anshangtai

Dear Sir. i am a skilled PHP expert having worked for 9 yrs. I reviewed your job requirement carefully then placed a bid. I have good technical experience in completing such jobs. I can convert javascript Περισσότερα

$527 USD σε 10 μέρες
(16 Αξιολογήσεις)
5.8
khoahuynhpro

Hello you! i can do it and finish 3 days. Please let me know.I looking forward on work your project. Thanks! Mr Khoa

$526 USD σε 10 μέρες
(76 Αξιολογήσεις)
5.6
taskmanageryd

Hello, I am an expert and experienced Developer.. I am perfect developer for this JOB.. I have many many many times have done work on API .. expecting your quick and +ve reply.. Thanks

$250 USD σε 3 μέρες
(63 Αξιολογήσεις)
5.2
Tiatechnologies

Hello , I have read your project requirement and i am having more the 6+ years of experience team for PHP, JS developers are here and we are comfortable to convert js to php code to get json data from api . could Περισσότερα

$526 USD σε 10 μέρες
(3 Αξιολογήσεις)
4.6
rockeykhan

Hi Sir I have read your project and ready to do this for you. I am a PHP developer kindly have a look at my profile for an idea of my work I will code this in 300$ and deliver it in 5 days kindly reply regards Ro Περισσότερα

$300 USD σε 5 μέρες
(9 Αξιολογήσεις)
4.5
Hana2015

A proposal has not yet been provided

$500 USD σε 10 μέρες
(1 Κριτική)
3.9
kasianand

Hi, I have gone through your requirements and I can call the api from php, parse it and assign title and metadata. The response can be reused in javascript to avoid another api call from javascript. The only dra Περισσότερα

$555 USD σε 10 μέρες
(10 Αξιολογήσεις)
3.8
cinza

A proposal has not yet been provided

$250 USD σε 3 μέρες
(10 Αξιολογήσεις)
3.7
phpdeveloper3

Hello, I can do it as you want. I am on mobile so can't write much but you can see my previous and ongoing projects for any clearance. Kindly contact for further discussion. Thanks skype: ashishzworld

$250 USD σε 2 μέρες
(6 Αξιολογήσεις)
3.6
mangaldinesh

hello, I am very much excited to work with you. also if you will give me this opportunity I will be ready to work only for 150$. waiting for your positive response thanks, dinesh

$250 USD σε 2 μέρες
(3 Αξιολογήσεις)
1.8
echoinnovate

Hello there, Hope all is well with you. I have gone through with your requirement and i am glad to let you know that we can certainly assist you in your requirement. We have developed many websites so far on Περισσότερα

$526 USD σε 10 μέρες
(0 Αξιολογήσεις)
0.0