{"id":146,"date":"2007-02-23T03:31:53","date_gmt":"2007-02-23T08:31:53","guid":{"rendered":"\/cgi\/wp\/?p=146"},"modified":"2019-12-11T08:32:50","modified_gmt":"2019-12-11T13:32:50","slug":"dotnetnuke-4-news-module-and-web-parts-synergy","status":"publish","type":"post","link":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=146","title":{"rendered":"DotNetNuke 4 News Module and Web Parts Synergy"},"content":{"rendered":"<p>Tonight I tried to use some of the XSL stylesheets I created for my <strong>ASP.NET 2.0<\/strong> web parts mashup in the <strong>DotNetNuke 4<\/strong> web portal. I was very pleased to find that most of them work when used with the News module. The News module allows you to specify both the news feed and its news feed stylesheet so you can actually use any kind of XML feed. You can use web services, developer APIs, or RSS feeds. If you are not actually consuming a news feed then you just use your own stylesheet to control how the data is formatted.<\/p>\n<p>I was able to use several of my web parts in my DotNetNuke 4 web portal because they were basically just XSL used to style XML feeds. Please see the screen shot below. I was able to use my local weather widget, the <em>show my IP address<\/em> widget, LiveVideo featured videos widget, and\u00a0the actual news feed for the Newsvine Web Development Group (did not require a stylesheet). Therefore it appears as though my work with web parts will port to this web portal as long as it is based mostly on XML and XSLT (stylesheet transformations). DotNetNuke 4 does not use web parts but you can still minimize modules and move them from place to place when logged in as an administrator. I have the book <strong>Professional DotNetNuke 4<\/strong> by Shaun Walker and others from WROX Press.<\/p>\n<p><img decoding=\"async\" title=\"Dot Net Nuke 4\" alt=\"Dot Net Nuke 4\" src=\"http:\/\/img412.imageshack.us\/img412\/1734\/dotnetnukeyz0.jpg\" \/><\/p>\n<p>I&#8217;ve switched form using ASCX user controls for my web parts to using VB class files that are real web part controls. I made the switch because you can use title icon images in your web parts when they are actual web part controls. I really wanted those icons in my project because I&#8217;m an icon freak. I have a large collection of web site favorite icons. You can use regular Windows icon files <strong>.ico<\/strong> for web parts as long as they are 16&#215;16 pixels. I have noticed a major drawback to web part mashups. Web parts do not use <strong>AJAX<\/strong> so there is an annoying refresh of the web page every time I make a change.<\/p>\n<p><img decoding=\"async\" title=\"Web Parts With Title Icons\" alt=\"Web Parts With Title Icons\" src=\"http:\/\/img337.imageshack.us\/img337\/4265\/webparticonsgu6.jpg\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tonight I tried to use some of the XSL stylesheets I created for my ASP.NET 2.0 web parts mashup in the DotNetNuke 4 web portal. I was very pleased to find that most of them work when used with the &hellip; <a href=\"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=146\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/146"}],"collection":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=146"}],"version-history":[{"count":1,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":3423,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/146\/revisions\/3423"}],"wp:attachment":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}