PDA

View Full Version : YQL for gAjax RSS Feeds Displayer No Longer Working



antwonw
01-31-2019, 04:09 AM
Feeds are no longer working with the YQL. Does anybody have any idea why?

antwonw
02-12-2019, 07:32 AM
240 views on this post but no responses? Does anyone else have this issue?

keyboard
02-12-2019, 09:01 AM
Hey antwonw. Sorry to hear you haven't found a solution yet.
Are you talking about the scripted hosted by Dynamicdrive that is talked about here - http://blog.dynamicdrive.com/gajax-rss-feeds-related-scripts-updated-use-yql/

Unfortunately, according to the following thread, YQL support has been discontinued.
http://www.dynamicdrive.com/forums/showthread.php?81161-gAjax-RSS-Feeds-Displayer-SSL-Update

If that is the case you may need to look into alternative solutions.
If there's anything else I can do, let me know.

Goodluck!

esq
02-14-2019, 01:21 PM
Hello,

Can we use RSS2JSON service as alternative? https://rss2json.com/google-feed-api-alternative

I dont know which codes must be change in the script for rss2json, but i think it can be adapt. Because RSS2JSon is alternative method instead of Google Feed API. And Gajax RSS Feeds displayer script was use Google Feed API in old versions...

Can any expert tell me what codes I will change for rss2json service?

esq
02-15-2019, 02:00 PM
Okay,

I solved the problem myself.

1- Firstly, use old 2.0 version of gfeedfetcher.js (you can find it at webarchive.org: https://web.archive.org/web/20140328123727/http://www.dynamicdrive.com/dynamicindex18/gfeedfetcher.js)

2- Search the code below in your HTML doc (whichever you added with this script):


<script src="https://yui-s.yahooapis.com/3.18.1/build/yui/yui-min.js"></script>
OR

<script type="text/javascript" src="http://www.google.com/jsapi"></script>


And replace it with this: (you will use rss2json script instead of YQL or Google Feed API)


<script src="https://rss2json.com/gfapi.js"></script>


3- Remove limitlength() option in your HTML code (if using)

Example:

cssfeed.limitlength(150, "descriptionfield") (dont use like this code, because this code is not working old version of gfeedfetcher.js)

Instead of limitlength() option, you can try vwphillips's post (http://www.dynamicdrive.com/forums/showthread.php?77089-gAjax-RSS-Feeds-Displayer-display-more-feed-characters&p=308007#post308007) instead of limitlength() options. Edit the codes just as vwphillips says in gfeedfetcher.js

4- If you want use HTML strip in the description field when displaying RSS feed, you can use addregexp option.

Then, add the code below between your <script></script> tags in HTML doc:


cssfeed.addregexp(/<[^>]*>/g, '', 'descriptionfield')



Done,
That's all!

Thanks for not replying to all experts since a long times!