Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  XML Module [Lea...  Using xml module on my DNN site feed and xsl author name
Previous Previous
 
Next Next
New Post 11/25/2007 11:59 AM
User is offline dragonszz33
9 posts
10th Ranked


Using xml module on my DNN site feed and xsl author name 

Goal is to have an xml module on my home page that links to my latest blog posts feeds.  The problem, the feed on the home page isn't updating quickly after someone makes a post.  Some posts aren't even showing up.  Could I be linking to the wrong link?

I'm not sure if I'm doing this right, on my home page I have a latest blog posts .xml with the following settings:
Link Type: URL
Location:  http://www.mywebsite.com/Section/Blogs/tabid/57/rssid/0/Default.aspx
I grabbed the URL off the XML link for my blog.  Am I doing something wrong?

XSL stlye sheet
Here's my current style sheet:

<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">
  <xsl:for-each select="channel/item[position() &gt; 1]">
  <xsl:if test="position() &lt; 9">
    <br></br>
    <strong><a href="{link}" target="_main"><xsl:value-of select="title"/></a></strong>
    <br>
    </br>
        <em><xsl:value-of select="creator"/></em>
    <br></br>
  </xsl:if>
  </xsl:for-each>
</xsl:template>
<xsl:template match="description">
  <br>
    <xsl:value-of select="."/>
  </br>
</xsl:template>

</xsl:stylesheet>

The style sheet just pulls the post link in, how can I also pull the author or user name in?  When I use the author tag it pulls the user e-mail address in only.  Any hints are greatly appreciated.

 
New Post 1/22/2008 12:33 PM
User is offline James Byles
3 posts
10th Ranked


Re: Using xml module on my DNN site feed and xsl author name 
Hiya,

I'm having a bit of a similar problem, where by the XML module can read from a file locally fine (transforms and all), but appears to be doing nothing when set to retrieve by URL. I thought this might be something to do with cache / scheduling initally, but it seemed odd how it doesn't retrieve by URL not even once.

I'm no DNN expert, but I think you would have to modify the blogs syndicator, since the author name isn't in the feed at all. That will be my method when I get round to it anyway, unless somebody advises otherwise!

Have you got any further with this? :)

Cheers, James.
 
New Post 1/22/2008 9:56 PM
User is offline Stefan Cullmann
1454 posts
6th Ranked








Re: Using xml module on my DNN site feed and xsl author name 
Modified By Stefan Cullmann  on 1/23/2008 1:57:19 AM)

 dragonszz33 wrote

Goal is to have an xml module on my home page that links to my latest blog posts feeds.  The problem, the feed on the home page isn't updating quickly after someone makes a post.  Some posts aren't even showing up.  Could I be linking to the wrong link?

No, it is by design. I don't know how it works for the blog module, I suggest that you post your question in that forum.

 dragonszz33 wrote

The style sheet just pulls the post link in, how can I also pull the author or user name in?  When I use the author tag it pulls the user e-mail address in only.  Any hints are greatly appreciated.

Again, this is up to the blog module, not to the xml module.

 James Byles wrote
I'm having a bit of a similar problem, where by the XML module can read from a file locally fine (transforms and all), but appears to be doing nothing when set to retrieve by URL. I thought this might be something to do with cache / scheduling initally, but it seemed odd how it doesn't retrieve by URL not even once.

Please check the value for WebRequestTimeout inside host settings (more)


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

Need to import external data to a UDT? Try http://www.codeplex.com/Csv2UDTImport

 
New Post 1/23/2008 11:41 AM
User is offline James Byles
3 posts
10th Ranked


Re: Using xml module on my DNN site feed and xsl author name 
 Please check the value for WebRequestTimeout inside host settings (more)


I don't belive it! I had already scanned through that thread and had tried entering a value in the Request Timeout field, but oddly the settings didn't save (I probably didn't click update properly!). I didn't look into it any further because no error was being displayed.

Thanks alot for your help. :)
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  XML Module [Lea...  Using xml module on my DNN site feed and xsl author name
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com
Code 5 Systems, LLC.
The DNN Missing Link: A Form Module. Form Master 1.6 is an intuitive Form Creation Module at a great price. Quality Custom Module development, and DNN consulting services.
www.code5systems.com
SSL Enabled and Amazingly FAST...
SSL enable your DNN web site with SSLRedirect, compress your DNN web site HTTP data flow by up to 75%-90% with HttpCompressionAgent, and monitor your DNN web site's performance with WebKeepAlive...
www.sanibellogic.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP