Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsRegarding Error message encounteredRegarding Error message encountered
Previous
 
Next
New Post
6/26/2007 3:01 AM
 

Hi

I  tried using News Feed(RSS) module in my site ,since i dont know how it actually works.I started this way

1).Added the News Feed Module

2). Clicked  Edit News Feed and selected News Feed Source Link Type as URL

3). Entered http://www.google.com as URL location

4). selected  News Feed Style Sheet  Link Type as File on my Site
5).Uploaded RSS91.xsl as style sheet and clicked update

Then I got this message

Could Not Connect To http://www.google.com. You Should Verify The Source Address Is Valid And That Your Hosting Provider Has Configured Their Proxy Server Settings Correctly.

I would like to know if the url i gave is wrong or do i need to set any proxy server settings

 
New Post
6/27/2007 10:11 AM
 

Sirisha,

First, you are pretty close to using the current module correctly.  Though, you need a bit of help with understanding how to choose an appropriate URL for the newsfeed source.  Google does have newsfeeds available, but the URL that you are using is not a valid newsfeed source, but actually Google's URL for their search engine.  A example Google newsfeed source would be:

http://news.google.com/?output=rss

However, that's not the end of the story, unfortunately.  Newsfeeds in the real world don't always follow RSS specifications, so DNN defaults to using a stylesheet that works in most cases to display some very common and standard rss elements from the RSSv0.91 spec.  That's the stylesheet you used fo the other setting.  In most cases, this stylesheet will transform a newsfeed correctly, but sometimes it does not.  So, just be aware that as you gain more experience with consuming RSS feeds that you will need to pick up a bit more knowledge of XSL transformation.

I can't tell from what you gave us, whether the error you are getting is coming from simply specifying a URL that is not a feed or not, I don't have my test site up at this point to confirm (sorry).  However, try making that URL change, and see what you get.  Then, let us know if it gets you started.  If not, then we'll need to know how you are hosted, and some other specifics, which we can address at that time.

BTW - while on Google, you can always do a search for RSS feeds to find appropriate URL's to use.  You could even pick one from the DNN site itself to test.  Also, if you are using IE7 or Firefox, you can go to most sites, which will auto-detect if a feed is present, click the new RSS feed logo, and bring it up on your browser.  Another way to check a feed URL w/o using DNN is to simply type the url in the browser's address textbox, which should result in the display of the feed, either in xml format or in a standard transformation depending on your browser setup.

Anyway, good luck, and let us know how it goes.

Cheers! 

 
New Post
6/28/2007 9:30 PM
 

iwonder wrote

BTW - while on Google, you can always do a search for RSS feeds to find appropriate URL's to use.

LOL

And, as a particular tip to the original poster, try clicking on iwonder's profile to see some of his previous posts.

He's never steered me wrong.

 

Thanks!



 
New Post
7/3/2007 11:51 PM
 

Hi,

Thank you for the feed , I think now i am heading the right way.

are there any feeds for codeproject or some technical feeds which i can use in my site

Also i am encountering  a problem in the stylesheet while using  http://news.google.com/?output=rss feed

clicking on the title opens the news in a new window but clicking on the image or other description

is not opening in a new window . I am not good at XSL but still tried changing it as follows

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="" >
<xsl:output method="html" indent="yes"/>
<xsl:param name="TITLE"/>

<xsl:template match="rss">
  <!-- Do not show channel image -->
  <xsl:for-each select="channel/item">
    <br>

    <strong>
     
      <a href="{link}" target="NewWindow"><xsl:value-of select="title" disable-output-escaping="yes"/></a></strong><br></br>

    <!-- only display markup for description if it's present -->
     <a href="{link}" target="NewWindow"> <xsl:value-of select="description" disable-output-escaping="yes"/></a>

    </br>
    <br></br>
  </xsl:for-each>
</xsl:template>

<xsl:template match="description">
  <br>
    <xsl:value-of select="."/>
   
  </br>
</xsl:template>

</xsl:stylesheet>

but still on clicking thr description does not open in new window, please let me know

if there is a workaround for this problem.

Thanks in advance

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsRegarding Error message encounteredRegarding Error message encountered


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out