Google Answers Logo
View Question
 
Q: Google News Alerts ( Answered,   2 Comments )
Question  
Subject: Google News Alerts
Category: Reference, Education and News > Current Events
Asked by: twilite-ga
List Price: $20.00
Posted: 21 Nov 2005 17:28 PST
Expires: 21 Dec 2005 17:28 PST
Question ID: 596014
I use Google News Alert for all news related to Agent Orange which is
sent to my gmail account then I in turn blog post it using the button
on my browser. I would like to simplify this a little if I could. I
would like to still get the Agent Orange news but I would like to
automatically send it to my own web site where it will be displayed
automatically so I could be out of town for a few weeks but the news
would still make it to my site for others to read. How do I do this? -
Pat

Request for Question Clarification by pafalafa-ga on 21 Nov 2005 19:32 PST
I'm not terribly familiar with updating website content, but isn't
that what RSS feeds are all about...?:



http://news.google.com/intl/en_us/news_feed_terms.html
Google News search results feeds: You can also get a feed for any
search you do on Google News. First do any search on Google News, then
simply use the Atom or RSS link on the left-hand side of your search
results page to generate the feed.



Does that do the trick for you?


pafalafa-ga
Answer  
Subject: Re: Google News Alerts
Answered By: palitoy-ga on 22 Nov 2005 06:32 PST
 
Hello twilite-ga

Thank-you for your question.  As pafalafa-ga and hedgie-ga both
indicate, the solution to this problem lies in displaying the RSS/XML
news feed on your webpage.  When you search for news articles on
Google News, the Google News site gives you this RSS link on the left
hand side of the page (underneath the News Alerts link).  To a human
the link page is hard to read but it is actually very ordered and set
up for easy processing my a computer, it delivers the same information
(or Google News's summary of it) to the user.

There are a number of online solutions to display RSS/XML news feeds
that may be of interest to you.  Depending on your level of
programming, there are many scripts that you could easily adapt to
display the latest "Agent Orange" news on your site.

The easiest and most friendly that I have been able to locate is here:
http://jade.mcli.dist.maricopa.edu/feed/index.php?s=build

Simply enter the URL below (the URL of the "Agent Orange" Google RSS
News page) into the URL box on the page and click Preview feed.  A
window should pop up with the news feed and news displayed in it.
http://news.google.com/news?hl=en&ned=us&q=%22Agent+Orange%22&ie=UTF-8&scoring=d&output=rss

To alter the style of the feed simply alter the other options on the
page where you entered the URL.

The settings I would suggest are:

URL:
http://news.google.com/news?hl=en&q=%22agent+orange%22&ie=UTF-8&output=rss

Show Channel: No
Number of items to display: 0 (shows all)
Show/Hide item descriptions: 1 (shows all)
Use HTML in item display: Yes
Time Zone Offset: feed
Target links in the new window: n
UTF-8 Character Encoding: Check/Tick box
Custom CSS Class: Leave blank unless you know what you're doing with CSS

To use this on your website you will need to click the "Generate
Javascript" button and paste the code they supply onto your current
website.

An explanation of the CSS section can be found here:
http://jade.mcli.dist.maricopa.edu/feed/index.php?s=style

More comprehensive and alternative solutions can be discovered on the
following page:
http://www.rss-specifications.com/display-rss.htm

Many of these solutions require that you host and run the scripts on
your webserver (which you may or may not be able to do depending on
your set-up).

If you have any further questions please do not hesitate to ask for
clarification and I will do my best to respond swiftly.

Request for Answer Clarification by twilite-ga on 22 Nov 2005 08:37 PST
Okay, maybe I need some clarification. I have published my template to
the url www.agentorangenews.com. You should see where I would like to
feed the news to - "Latest Agent Orange News From a News Feeder Goes
Here".

I am hoping I can subscribe to a news alert, such as Google Alert,
since it works so well and feed "Latest Agent Orange News From a News
Feeder Goes Here" on my website. Anyway, I am trying to automate this
as much as possible so if I'm unable to get to the internet or my pc
the news will still be updated as the news releases are released.

Now I have the alerts going to my email then I have to sent them
manually to my bog by using the blogger button.

Pat

Clarification of Answer by palitoy-ga on 22 Nov 2005 08:45 PST
No problem, try pasting the following code where you currently have
"Latest Agent Orange News From a News Feeder Goes Here":

<script language="JavaScript"
src="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fnews.google.com%2Fnews%3Fhl%3Den%26ned%3Dus%26q%3D%2522Agent%2BOrange%2522%26ie%3DUTF-8%26scoring%3Dd%26output%3Drss&date=y&utf=y&html=a"
type="text/javascript"></script>

<noscript>
<a href="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fnews.google.com%2Fnews%3Fhl%3Den%26ned%3Dus%26q%3D%2522Agent%2BOrange%2522%26ie%3DUTF-8%26scoring%3Dd%26output%3Drss&date=y&utf=y&html=y">View
RSS feed</a>
</noscript>

Clarification of Answer by palitoy-ga on 22 Nov 2005 08:47 PST
The code has been split by Google Answers when I have posted it, it
should be typed all on one line.  There should be a space between
language="JavaScript" and src="

Once you have done this correctly the latest news items should appear
on your website.  Let me know how you get on with this.

Request for Answer Clarification by twilite-ga on 22 Nov 2005 20:18 PST
I seem to pickup articles not associated with Agent Orange. Is the a
way to correct this. - Pat

Clarification of Answer by palitoy-ga on 23 Nov 2005 01:34 PST
Hi Pat

This is the correct way to do this, the false positives will always
occur because the terms "agent" and "orange" are common words.  When
you got alerts from Google you probably noticed that you did not post
every link that they sent to you as some were not relevant.

To rectify this, you will need to alter the URL that you use to get
the feeds from the Google News site.  As with any automated system it
is never as good as a human an unfortunately errors will occur.  To
alter the URL you should go to the Google News website and search for
your "Agent Orange" news as you would normally.  There are details on
how to do this here (it is identical to how you would narrow down your
normal search procedure on Google):
://www.google.com/help/basics.html

Unfortunately I cannot help in this area as I do not know much about
"Agent Orange" and cannot suggest any terms to help reduce the false
results but for instance if you wanted to search for Agent Orange and
no references to George Bush you might enter search terms of: "agent
orange" -bush

Once you have the search narrowed down you should click on the "Sort
by Date" link towards the top of the page, and then the RSS link on
the left hand side of the page.  You should then be able to use this
URL in the instructions I used initially (alternatively you can post
your new URL here and I can generate the javascript once again for you
to post on your webpage).

Request for Answer Clarification by twilite-ga on 23 Nov 2005 06:20 PST
The url is www.agentorangenews.com. Is there a way to pick up the term
"agent orange" just from the title of an article not the subject area?
- Pat

Clarification of Answer by palitoy-ga on 23 Nov 2005 06:30 PST
The options you can choose from are located on this page:
http://news.google.com/advanced_news_search?hl=en&ned=us

Have you tried entering any search terms into Google News and trying
the http://jade.mcli.dist.maricopa.edu site link?  I am unclear
whether you have tried this yet...

Clarification of Answer by palitoy-ga on 23 Nov 2005 06:53 PST
I have re-read the whole thread of this question and I am still unsure
if you understand what we are trying to do here...

As I understand it, you have a website at
http://www.agentorangenews.com and you wish to use Google News to put
the latest news about Agent Orange onto your website.

My solution was to make use of the RSS feeds that Google News provides
users.  I then detailed a solution requiring you to go to the Feed2JS
webpage at http://jade.mcli.dist.maricopa.edu/feed/index.php?s=build

With this webpage you need to enter the URL of the Google News
newsfeed (NOT the URL of your website).  Also you will need to edit
the search terms on the Google News page to get the solution you
require as I do not have the knowledge of "Agent Orange" to help
reduce the unwanted news stories.

I am unsure as to what stage to have got to in my original question...
please let me know if any of this is unclear or you require further
information.  I want to be able to help you further.

Further information on the Google News service and the RSS feeds it
provides can be found here:
http://news.google.com/intl/en_us/about_google_news.html
http://news.google.com/intl/en_us/news_feed_terms.html
Comments  
Subject: Re: Google News Alerts
From: hedgie-ga on 22 Nov 2005 05:56 PST
 
Would that do the trick? I doubt it.
 
RSS feed  will send content (of updated webpages) to the email address.

To send content of mail to a webserver (the opposite direction)  twilite
needs a script which will run on a his web server, which will capture which
 the mail content, format it, and write it in HTML format to a webspace.
It can be done but it needs programming skills, such as perl or php.
It is not hard, but more than $5 work for sure.
Alternative is to use a CMS software. That would require little programming,
 (just to rig mailed-in articles to be 'auto-aprooved') but is a bit
of an overkill, since CMS are big (in number of lines).
I can elaborate a bit as an answer, but not provide a script which would do it.
Subject: Re: Google News Alerts
From: twilite-ga on 28 Nov 2005 09:12 PST
 
I just got back from Turkey Day and I'll try all of these suggestions
in the next few days then report back. Thanks Everyone - Pat

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy