Description
Usage
bw_handle_feed( $domain );Parameters
- $domain
- ( mixed ) required –
Returns
voidSource
File name: oik-batch/oik-site.phpLines:
1 to 8 of 8
function bw_handle_feed( $domain ) { $result = fetch_feed( bw_build_request( $domain, "feed" ) ); e( $feed ); bw_flush(); parse_feed( $feed ); echo PHP_EOL; bw_flush(); }View on GitHub
Invoked by
Calls
1 to 3 of 3
- bw_build_request() –
- bw_flush() – Use bw_flush() to echo the contents of $bwecho then empty it
- parse_feed() – Parse the feed from the server <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" >
