feed2array lib by Bronco to converts feeds to arrays More...
Functions | |
feed2array ($feed, $load=false, $debug=false) | |
truncate ($text, $length=500, $ending= '…', $exact=false, $considerHtml=true) | |
feed2array lib by Bronco to converts feeds to arrays
feed2array | ( | $feed, | |
$load = false , |
|||
$debug = false |
|||
) |
Converts a feed (RSS or ATOM) to an array
Modified version, closer to the specifications and handling more elements
$feed | is either a feed content ($load=false) or a feed URI ($load=true) |
$debug | should be set to true to display error messages. |
truncate | ( | $text, | |
$length = 500 , |
|||
$ending = '…' , |
|||
$exact = false , |
|||
$considerHtml = true |
|||
) |
Truncate at a certain length, keeping html tags intact.