You are here

function _parser_common_syndication_title in FeedAPI 5

Same name and namespace in other branches
  1. 6 parser_common_syndication/parser_common_syndication.inc \_parser_common_syndication_title()

Prepare raw data to be a title

3 calls to _parser_common_syndication_title()
_parser_common_syndication_atom10_parse in parser_common_syndication/parser_common_syndication.module
Parse atom feeds.
_parser_common_syndication_RDF10_parse in parser_common_syndication/parser_common_syndication.module
Parse RSS1.0/RDF feeds.
_parser_common_syndication_RSS20_parse in parser_common_syndication/parser_common_syndication.module
Parse RSS2.0 feeds.

File

parser_common_syndication/parser_common_syndication.module, line 750
Parse the incoming URL with SimpleXML then provide a data structure of the feed. Requires PHP5 because of SimpleXML.

Code

function _parser_common_syndication_title($title) {
  return html_entity_decode(strip_tags($title), ENT_QUOTES, 'UTF-8');
}