Ticket #78 (new defect)
Opened 4 months ago
Feedburner With CNAME Redirection
| Reported by: | nathanhammond | Owned by: | |
|---|---|---|---|
| Priority: | major | Component: | feedburner |
| Keywords: | feedburner, cname | Cc: |
Description
There is a scenario with the Feedburner Plugin grabbing the information from the Awareness API that fails. If you set a CNAME redirected URL as your Feedburner URL the dashboard widget fails to connect.
My feeds are set up like so:
feeds CNAME feeds.feedburner.com. http://feeds.example.com/burnedfeed
On this line:
$awareness_api = 'http://api.feedburner.com/awareness/1.0/GetFeedData?uri=' . $feed_url;
$feed_url is:
http://feeds.example.com/burnedfeed
When it needs to be:
http://feeds.feedburner.com/burnedfeed
My quick fix was to do this inline:
str_replace('example.com', 'feedburner.com', $feed_url);
A real solution would actually let the user inform the Feedburner plugin that they're using CNAME redirection and build the $feed_url variable that way.
Attachments
Note: See
TracTickets for help on using
tickets.
