Google alerts feeds rss
-
Hi,
I am trying out your plugin (version 2.0.5), which I find quite nice. When I add a google alerts feed though, I don’t seem to be able to curate google alerts rss posts from the expresscurate_feed_list page properly – that is, I see the alerts rss items in the feed list, but the link doesn’t seem to load properly when I attempt to curate. It appears to have trouble resolving the google part of the url for some reason (though if I go to the full url manually it is fine).
Other rss feeds work fine.
I was able to work around it by stripping out the google url bits in templates/feed_list.php like so:
<ul class=”controls expresscurate_preventTextSelection”>
<?php
$url = parse_url($item[‘link’]);
if ($url[‘host’] == “www.google.com”) {
parse_str($url[‘query’], $output);
if (isset($output[‘url’])) {
$url=$output[‘url’];
}
}
?>
<li class=”curate”><a
href=”<?php echo esc_url(get_admin_url().”post-new.php?expresscurate_load_source=”.urlencode($url).”&expresscurate_load_title=”.urlencode($item[‘title’])); ?>”>Curate<li class=”separator”>-
… but maybe there is a cleaner solution…?
- The topic ‘Google alerts feeds rss’ is closed to new replies.