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  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


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
1431 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).

 
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.

 


Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com

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