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 FeedsNews in New window that I define....News in New window that I define....
Previous
 
Next
New Post
4/2/2007 11:15 AM
 

Well, I think if a provider is going to give away a newsfeed for free, which includes a link, title, and varying degrees of content, the least I can do is to go to their site to read the 'rest of the story'.  We really can't expect newsproviders to give us all of their content for use on our site w/o some type of attribution or payment for use.  What would be the point of that type of scenario?   They hire the photographers, reporters, and various other support folks to collect and report news, pay distribution fees, and we get to use all of it for free?  Utopian view, but not realistic.

Now, some folks screen scrape sites to accomplish what you are asking, but that is copyright infringment.  Face it 'news' is not free, unless your collect it, report it, and distribute it yourself for free.  No one I've run into in the industry can afford to give away major news content, with very minor exceptions, and DNN itself is one of a kind too.  Giving away a framework with source code is rare! 

But, if you run into any such new providers, be sure an mention them here, because I'm sure many of us who run web sites would be interested.  Freebies are always worth checking out.  I'm not opposed to the idea, but the practice of providing newsfeeds in that manner is not something I envision happening.  :)

 
New Post
4/4/2007 6:41 AM
 

Well. my news provider is a magazine company, so that is really how they generate their revenue.

But you are right, they reason they give away a news feed is to generate revenues from advertising.

 
New Post
6/1/2007 12:18 PM
 

In order to open a new feed in a new browser window, you need to include a XSL stylesheet when you create the new feed. 

This sample XSL file will limits the number of article to 3 and will open the articles in a new browser window.  I hope this helps.

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <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">
   <xsl:if test="position() &lt; 4">
    <br>
     <strong>
      <a href="{link}" target="NewWindow">
       <xsl:value-of select="title"/>
      </a>
     </strong>
     <br></br>
     <!-- only display markup for description if it's present -->
     <xsl:value-of select="description"/>
    </br>
    <br></br>
   </xsl:if>
  </xsl:for-each>
 </xsl:template>
 <xsl:template match="description">
  <br>
   <xsl:value-of select="."/>
  </br>
 </xsl:template>
</xsl:stylesheet>

 
New Post
6/1/2007 4:31 PM
 

I think the point was about opening a new window using the link to the source information and displaying the information from the news source with custom formatting, and not displaying the ads and whatnot from the news source provider.  That's something different than what your xsl is going to do.

Not to pick on you, because anyone who offers a xsl for folks is doing good, so keep that up. :)

Cheers

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsNews in New window that I define....News in New window that I define....


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