Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Google NewsShow iFrames Solution
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mahesh Chindarkar  
View profile  
 More options Oct 20 2012, 7:13 pm
From: Mahesh Chindarkar <maheshchindar...@gmail.com>
Date: Sat, 20 Oct 2012 16:13:16 -0700 (PDT)
Local: Sat, Oct 20 2012 7:13 pm
Subject: Google NewsShow iFrames Solution

Question regarding newsshow
http://www.google.com/uds/modules/elements/newsshow/iframe.html

There are two options given for NewsShow (Javascript and Frames)
https://developers.google.com/news-search/newsshow/

The Javascript solution has google.search.Search.LINK_TARGET_BLANK  to open
links in new window.

Question1 : Is it possible to open the links from a iFrame solution into a
new window?
Question2 : The Large parameter shows 8 news. Can this be increased?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeremy Geerdes  
View profile  
 More options Oct 20 2012, 8:56 pm
From: Jeremy Geerdes <jrgeer...@gmail.com>
Date: Sat, 20 Oct 2012 19:56:06 -0500
Local: Sat, Oct 20 2012 8:56 pm
Subject: Re: Google NewsShow iFrames Solution

The iframe solution was designed to be a quick and easy implementation for developers that weren't really comfortable with JS. Therefore, the number of options available through it is rather limited. In short, I don't believe that you can set the links in the iframe version to open in a new window.

The limit of 8 results is built into the News Search API. This is the most you can retrieve per request. To obtain more, you would need to rework portions of the control's Javascript so that it will fetch additional results in sequence. Unfortunately, the Javascript for the control has been compiled/obfuscated, making it very difficult to alter. If this is truly what you're wanting to do, then you're probably going to be better off to simply build your own control.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
jrgeer...@gmail.com

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Oct 20, 2012, at 6:13 PM, Mahesh Chindarkar wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mahesh Chindarkar  
View profile  
 More options Oct 21 2012, 9:04 am
From: Mahesh Chindarkar <maheshchindar...@gmail.com>
Date: Sun, 21 Oct 2012 06:04:36 -0700 (PDT)
Local: Sun, Oct 21 2012 9:04 am
Subject: Re: Google NewsShow iFrames Solution

In the rss feed there is a parameter *?num=* that outputs more than 8
results. Can this be merged with this news box solution? The documents does
not say so :(
https://news.google.com/news?topic=e&num=30&output=rss

If it is not possible, can we have a dropdown which has three values
"Entertainment", "Health", "Business", when the user selects any one
option, the news should be shown in a differnt iframe (without navigating
away from the original page) and if anyone clicks on ANY of the links
within the iFrame, it should open ONLY in that iFrame? Can you help me with
the code?

Entertainment
https://news.google.com/news?topic=e&num=30&output=rss
Health
 https://news.google.com/news?topic=m&num=30&output=rss
Business
 https://news.google.com/news?topic=b&num=30&output=rss

Thank you.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeremy Geerdes  
View profile  
 More options Oct 22 2012, 9:05 am
From: Jeremy Geerdes <jrgeer...@gmail.com>
Date: Mon, 22 Oct 2012 08:04:36 -0500
Local: Mon, Oct 22 2012 9:04 am
Subject: Re: Google NewsShow iFrames Solution

The News Show does not utilize the RSS feed. It is based on the News Search API. Therefore, the ability to specify the number of entries in the RSS feed has no bearing on the News Show control.

As I said before, I don't believe there is any way to control the target of links in the iframe implementation of the News Show.

Given what you seem to be trying to do, you might want to check out the Dynamic Feed Control.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
jrgeer...@gmail.com

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Oct 21, 2012, at 8:04 AM, Mahesh Chindarkar wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »