--The sites we build at my company often have blogs, and we sometimes like to show excerpts from the blog feeds on the homepages. In the past I have used jQuery and the Google Feed API with great success to access the blog RSS and display the excerpts. But recently we changed our dev/QA URL schema, and now I can't get the RSS feeds to load on our test sites.
Our dev/QA urls look like this now:
sitename.dev.aztekhq.com
orsitename.qa.aztekhq.com
. The blog feed is always/blog/syndication.axd
(we use BlogEngine.NET).I am using https://github.com/sdepold/jquery-rss for the jQuery plugin to the Google API.
What I have determined through testing so far:
- Loading a feed from a live blog works. Loading from a dev or QA site does not. This has been determined both on sites I am developing and also through the Google Feed API playground, so I know it's not something I did wrong with the script.
- I can access the dev/QA feeds through my browser, and I can also subscribe to them using an RSS reader, so I know the feeds are working.
Is it because of the way our dev/qa URLs are structured? I'm kind of at a loss here. I hope this is clear. If not, I can provide more information
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/eb3d8dae-82a7-4731-8f46-d8141bba4cea%40googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-ajax-searc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Well, my apologies. I thought I had responded to your previous email, but apparently not.That said, yes, the Feeds API does support pulling feeds from URLs on subdomains.
It's tough to say what's going on without being able to see one of your development blogs itself. My guess would be that the development / QA URLs may be inaccessible to the general public (e.g., the servers themselves are behind your firewall, the DNS entries are internal only, etc.). If that's the case, then the crawler which the Feeds API relies on to parse and cache the feed would be unable to access the feed, and the API will never be able to return anything. Of course, that's difficult to prove without a valid link. (I am assuming that the links in your post are placeholder/examples to show the structure rather than actual links. If they are actual links, then this would seem to prove my hypothesis since I can't access them.)Hope this helps!jg
--
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-ajax-searc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hmm. Well, I am able to access that feed. It does validate according to the W3C validator, but they offer a couple of suggestions. I can imagine that most of them would hurt anything. I wonder, though, about the inclusion of the iframe in the description for the Mother's Day specials item. Is there any way to comment that out, just to see what happens?
The fact that the API returns a 400 code indicates (to my uneducated non-Googler brain, anyway) that the parser is choking on the feed. However, there can be no disputing that the error codes and messages in the API could be much more clear. Alas, I doubt it will change. The big G has included an April 2015 sunset date for the Feeds API into its TOS.
--
Jeremy R. GeerdesGenerally Cool GuyDes Moines, IAIf you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!
--
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-ajax-searc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.