how to install / reference Simplepie.php

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: how to install / reference Simplepie.php

Post by seandisanti » Tue Nov 13, 2012 9:39 am

have you looked at the file "class-simplepie.php" in the /wp-includes/ folder?

I'm not familiar with it myself, but it sounds like it has the functionality you seek. i would explore the file to get function names etc and once you've found what you're looking for, go to appearance>editor>header.php and add a require() or include() for the file and update your function calls to the new function names

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: how to install / reference Simplepie.php

Post by seandisanti » Wed Nov 14, 2012 11:09 am

step one is identifying the deprecated functions that you were trying to use initially. Then identify what they do, hopefully the function names will be descriptive enough to remove a lot of the guesswork there. then browse through the code or documentation for the class-simplepie.php for functions with similar names. in the event that function names in one or both files are less than helpful, you can write up signatures for the deprecated functions; name, input parameters, return value and type. then go through simplepie looking for similar signature. Or you could just google for documentation, but I assumed you had already done

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests