Quantcast
Channel: WordPress › Support » Topic: How do I get fetch_feed working with url from database
Browsing latest articles
Browse All 8 View Live

Crazy Girl on "How do I get fetch_feed working with url from database"

fetch_feed($url) seems only to be working with $url typed in manually. If I instead take it from the database (e.g. get_bookmark_field('link_rss', $link->link_id); or $link->link_rss) it is not...

View Article



Mark / t31os on "How do I get fetch_feed working with url from database"

Call to undefined method WP_Error::get_items() Seems whatever you're doing to call the data from the database is failing, the error is not with fetch_feed, but with however you're trying to get data...

View Article

Crazy Girl on "How do I get fetch_feed working with url from database"

Please have a short look to my function: function tp_get_bm() {<br /> global $wpdb;<br /> $queryString = "<br /> SELECT * FROM $wpdb->links<br /> WHERE link_visible =...

View Article

Mark / t31os on "How do I get fetch_feed working with url from database"

Is it with particular URLs? I can test some code if you like, do you want me to test a particular feed? Maybe rather then doing this.. $rss_items = $rss->get_items( 0, $rss->get_item_quantity(1)...

View Article

Mark / t31os on "How do I get fetch_feed working with url from database"

Before this line.. $rss_items = $rss->get_items( 0, $rss->get_item_quantity(1) ); Put the following.. if( is_wp_error( $rss ) ) { echo $rss->get_error_message(); continue; } It should tell you...

View Article


Crazy Girl on "How do I get fetch_feed working with url from database"

strange... now when I am going on with the function (including if is_wp_error else ) it works. No error anymore. Isn't that strange? Without wp-error it doesnt work, with wp-error it works? What do you...

View Article

Mark / t31os on "How do I get fetch_feed working with url from database"

What do you think is better for my $uri Use: No idea, whichever works best i guess.. Not sure if you need the esc_attr as the data should of been sanitized going into the DB, i suppose there's nothing...

View Article

Crazy Girl on "How do I get fetch_feed working with url from database"

Thank you very much for your help! :-)

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images