function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Maxwell LessardMaxwell Lessard 

Trying to add RSS feed to Account page layout

Hello,

I'm trying to get a RSS feed from Google News based on the name of the Account on the page layout for accounts.
I found this solution, which requires manually generating and entering a URL for each account, but my org has hundereds and hundereds of accounts, so this isn't feasable. 
What I tried was running a visualforce page with the following code:
 
<apex:page standardController="Account">
	    <apex:includeScript value="{!$Resource.testfeed}"/>
</apex:page>

the static resource "testfeed" contains the following javascript generated via this website:
 
<script language="JavaScript" src="http://feed2js.org//feed2js.php?src=https%3A%2F%2Fnews.google.com%2Fnews%2Frss%2Fsearch%2Fsection%2Fq%2F{!Account.Name}%2F{!Account.Name}%3Fhl%3Den%26gl%3DUS%26ned%3Dus&chan=y&num=5&au=y&targ=y&utf=y"  charset="UTF-8" type="text/javascript"></script>

<noscript>
<a href="http://feed2js.org//feed2js.php?src=https%3A%2F%2Fnews.google.com%2Fnews%2Frss%2Fsearch%2Fsection%2Fq%2F{!Account.Name}%2F{!Account.Name}%3Fhl%3Den%26gl%3DUS%26ned%3Dus&chan=y&num=5&au=y&targ=y&utf=y&html=y">View RSS feed</a>
</noscript>

But the output is just a blank page. i also tried this with a static value incase the "{!Account.Name}" merge was creating the issue, but it's still just a blank page.

Any insites?

Thanks in advance.
bhanu_prakashbhanu_prakash
Hi Maxwell,

Please go through with below links by ways you will get implementation solution
https://success.salesforce.com/answers?id=9063A000000ktEKQAY
https://success.salesforce.com/answers?id=90630000000gix6AAA
http://www.cloudjedi.com/blog/salesforce/add-rss-feed-on-home-page/

let us know if it helps you and mark it best if it helps you :) :) 
Thanks, 
Bhanu Prakash
visit ForceLearn  (https://www.forcelearn.com)