Menu

#18 replaced split with explode due to deprecation error

Unstable (example)
open
parsing (1)
1
2021-06-17
2015-07-13
No

I patched rss_parse.inc

line 153:

old

        list($ns, $el) = split( ':', $element, 2);

new

        list($ns, $el) = explode( ':', $element, 2);

This was because split is deprecated and my site had errors turned on.

Discussion

  • Dwight Walker

    Dwight Walker - 2015-07-13

    The copy I edited was version 0.7a.

     
  • Razvan Saftescu

    Razvan Saftescu - 2021-06-17

    I ran into the issue as well, and fixed it on my website first before coming here to report the issue (and on gitHub as well), which you solved here apparently; but the latest version of the project archive available for download (magpierss-0.72) dates back from 2005. so does not have this fix - where is your version 0.7a?
    (sorry, I'm new to sourceforge)

     

Log in to post a comment.