Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Google Sitemap ...Google Sitemap ...Google Sitemap Provider on DNN481 multi languagesGoogle Sitemap Provider on DNN481 multi languages
Previous
 
Next
New Post
8/13/2008 11:36 AM
 

OK, I will wait for it... Take care, Ventrian has introduced language parameter in his URL construction. Would be great to take it into account...

DV FX

 
New Post
9/5/2008 2:21 PM
 

Hello Bruce,

 

Do you have any news concerning VENTRIAN News Article Google Site Map ?
I remind you the problem, I have an error when trying to view the sitemap:

<urlset>

    <!--
An Exception has occured : Method not found: 'System.Collections.ArrayList Ventrian.NewsArticles.ArticleController.GetArticleList(Int32, Int32[], Boolean, Int32, Int32, Boolean, Boolean, System.DateTime, System.String, Boolean, Boolean, Int32, Boolean, Boolean, System.String, System.String, Int32, Int32)'.   at iFinity.DNN.Modules.GoogleSiteMap.ArticlesGoogleSiteMapProvider.GetLatestNewsArticles(ModuleDefinitionInfo modDef, ModuleInfo mod, TabInfo tab, Locale locale)
   at iFinity.DNN.Modules.GoogleSiteMap.ArticlesGoogleSiteMapProvider.GetPageURLsForArticles(PortalAliasInfo portalAlias, TabInfo tab, Locale locale)
   at iFinity.DNN.Modules.GoogleSiteMap.ArticlesGoogleSiteMapProvider.GetSitePages(PortalAliasInfo portalAlias, TabInfo tab, Locale locale)
   at iFinity.DNN.Modules.GoogleSiteMap.ArticlesGoogleSiteMapProvider.SitePagesForTab(PortalAliasInfo portalAlias, TabInfo tab, Locale locale)
   at iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapProvider.GetModuleSpecificPages(PortalAliasInfo portalAlias, TabInfo ti, Locale locale, GoogleSiteMapProviderCollection providers)
   at iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapProvider.GetSitePages(String siteUrl)
   at iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapProvider.GetGoogleSiteMap(String siteURL)
-->
</urlset>

 

DV FX

 
New Post
9/5/2008 3:26 PM
 

Scott basically keeps releasing new versions, each of which breaks backwards compatiblity with the old versions of the News Articles.  So every time a new News Articles module is released, I end up having to release a new version of the News Articles Sitemap Provider.  I'll get a new version out as soon as I can to match the latest NA release, whilst trying to maintain backwards compatibilty (so I don't have to have multiple versions).

It's a little frustrating but them's the breaks.  The source code for the provider is available so anyone who wants to update the reference can do so in the meantime.


Chief Software Hacker
 
New Post
9/6/2008 2:28 PM
 

Hi Bruce,

I took the source from the latest NewsArticles SItemap and opened it up in VS2008. I have updated the 2 references to the Ventrian News Articles module and simply tried to build from there.

Doing it this way gave me the following warnings/errors:

Warning 1 'DotNetNuke.Entities.Modules.ModuleController.GetPortalTabModules(int, int)' is obsolete: 'Use the new GetTabModules(ByVal TabId As Integer)' D:\Data\Visual Studio 2008\Projects\iFinity.DNN.ArticlesSiteMapProvider\ArticlesGoogleSiteMapProvider.cs 132 27 iFinity.DNN.ArticlesSiteMapProvider

Error 2 No overload for method 'GetArticleList' takes '18' arguments D:\Data\Visual Studio 2008\Projects\iFinity.DNN.ArticlesSiteMapProvider\ArticlesGoogleSiteMapProvider.cs 206 32 iFinity.DNN.ArticlesSiteMapProvider

Error 3 Cannot implicitly convert type 'System.Collections.Generic.List<Ventrian.NewsArticles.ArticleInfo>' to 'System.Collections.ArrayList' D:\Data\Visual Studio 2008\Projects\iFinity.DNN.ArticlesSiteMapProvider\ArticlesGoogleSiteMapProvider.cs 210 32 iFinity.DNN.ArticlesSiteMapProvider

There were two additional warnings about variables which were not used. If you could lead me through this I would appreciat it.

Kind regards,

Marc


Regards,
Marc

www.biservices.eu for free nl-NL resourcepacks.
 
New Post
9/9/2008 10:51 AM
 

Marc

I will update the latest version in the download soon - but I'd just like to clear one thing up.   WIth the change in the last version of News ARticles, it wouldn't have been a simple recompile.  This is because the return value from the GetArticles call was changed from an ArrayList to a List<ArticleInfo>.  So changes to the code were required to work with the new version.

Ultimately, future releases will depend on whether Scott changes the method signature again, so all I can do is wait to hear from people whether it is broken, and do my best to get a new version out.

-Bruce

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Google Sitemap ...Google Sitemap ...Google Sitemap Provider on DNN481 multi languagesGoogle Sitemap Provider on DNN481 multi languages


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.