I recently installed the Magpie RSS/Atom Parser plugin and am using this php code as presented in the EE Wiki to format dates.
<?php echo date("Y-m-d", strtotime('{pubdate}')); ?>All of my feeds seem to parse OK with the exception of one. In this single RSS feed I’m getting an error that says:
Notice: strtotime(): Called with empty time parameterThis link goes to the page with an example of the error. I searched the Internet and found this Drupal post that looks like a modification to the php code to handle the error. However, I have little to no understanding of php and don’t know how to implement it.
A second question, in cases where there is a “-” in the title (or other similar characters), I’m getting odd results within the parsed urls. This link goes to the page with an example of that problem.
I appreciate any help that can be provided.