Adding News Articles to a Google Sitemap

Follow

Comments

12 comments

  • Avatar
    Francisco Perez Andres

    Hi,

    I've follow these instructions to add the NA provider, but my sitemap doesn't show the links to articles. Can it be an issue related to multilanguage? It's a portal with two languages, and the sitemap shows each page twice, and no Ventrian News Articles at all.

    Thank you,
    Francisco 

  • Avatar
    Déclic Vidéo

    Hello Francisco,

    I have the problem than you. Nothing is displayed. Maybe it's because in CodePlex, there is only the source code that you can download. There is no link for the Install code.Scott, do you know why ?

    But I also have a problem with Google SiteMap Provider as well, which does not fully take into account the multi language, that might be a reason why it's not working neither. I assume that multi language portal are not so easy. I wrote to Bruce (ifinity), I am waiting for an answer and of course I will post here (I was unable to post on his website, I done it on CodePlex).

    DV FX

  • Avatar
    Scott McCulloch

    It could be related to multi-language - I'm actually exploring the docs for the core sitemap provider at the moment too. 

     

    The link is on the codeplex page:

    http://searchenginesitemaps.codeplex.com/releases/view/94575

    It says source code but it looks to be the install. 

    Ventrian News Articles Search Engine Sitemap Provider

  • Avatar
    Henry h

    Hi Scott 

    When I saw this I got very excited as I have been looking for a sitemap that integrates NA as well. 

    I installed this on a local DNN and it worked nicely so far. I tried to install it on a live site and I get the following error:

     

    See below for the results of the package installation
    Error loading files from temporary folder - see below
    StartJob Starting Installation
    Info Starting Installation - Search Engine Sitemaps
    Info Starting Installation - Assembly
    Info Assembly registered - bin\DotNetNuke.Providers.SearchEngineSiteMapProvider.dll
    Info Creating backup of previous version - bin\DotNetNuke.Providers.SearchEngineSiteMapProvider.dll
    Info Created - bin\DotNetNuke.Providers.SearchEngineSiteMapProvider.dll
    Info Component installed successfully - Assembly
    Info Starting Installation - Config
    Info Creating backup of previous version - web.config
    Failure ExceptionSystem.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Installer.XmlMerge.UpdateNode(XmlNode rootNode, XmlNode actionNode) at DotNetNuke.Services.Installer.XmlMerge.ProcessNode(XmlNode node) at DotNetNuke.Services.Installer.XmlMerge.ProcessNodes(XmlNodeList nodes, Boolean saveConfig) at DotNetNuke.Services.Installer.XmlMerge.UpdateConfig(XmlDocument target) at DotNetNuke.Services.Installer.Installers.ConfigInstaller.Install()
    Failure Installation Failed - Config
    Info Rolling back component install - Assembly
    Info Restored backup of previous version - bin\DotNetNuke.Providers.SearchEngineSiteMapProvider.dll
    Info Component rolled back successfully - Assembly
    Info Installation Failed - Search Engine Sitemaps
    Info Deleted temporary install folder
    EndJob Installation Failed

    I thought this might be to do with permissions. I checked the DNN installation and I can see that ASP.NET has read and  write permission to /install/temp folder 

    So I am not sure why this is failing to install and what temp folder the error is referring to. 

    All other kinds of modules  install easily so this kind of error has never happened before. 

    Appreciate your help. 

    Thanks

    Henry

     

  • Avatar
    Scott McCulloch

    Henry,

    That looks like an issue merging the config in the web.config file - do you have permission on it to modify?

  • Avatar
    Henry h

    Thanks Scott. Yes I checked this and the webconfig also has read and write access. Besides all other modules install and can make the necessary changes to webconfig too. 

  • Avatar
    Scott McCulloch

    It must be an error in the installer due the web.config probably not what it was expecting.

    I can look up my config and send you the relevant part if you still wanted it. 

  • Avatar
    Henry h

    Yes, that would be great Scott. Having modified the webconfig what else should I do to install it manually. At the moment once it encounters the error it rolls back the installation as you can see in the log above. Is it just necessary to have the webconfig mods and the DLL in the bin folder or is there more to it?

  • Avatar
    Henry h

    Hi Scott. I followed your advice and have now managed to manually install the modules by adding the webconfig lines manually. It is working now and the NA items are also generated.

    However I noticed that the change frequency of articles is set somewhat randomly. Many are set to "never" and "yearly" and some are set to daily, monthly, etc.  There doesn't seem to be any correlation between date of submission or something that indicates why an article's change freq should be set as "never" while another to "daily". 

    In general "never" is way too long and I would rather avoid it as article pages tend to change (new user comments, site mods, etc.). How can this be controlled. Is there a setting to control this?

    I tried to set the defaultPageUpdateFrequency="weekly"   but does not seem to have any effect.  

    As always, appreciate your help. 

  • Avatar
    Henry h

    Hi Scott. I have found a major issue with the site map. The articles that are yet to be published in the future are included in the current sitemap. They must be excluded from the sitemap because the links are not really valid before publication and all redirect to home page. This is corrupting the sitemap. 

    I am using the following settings:

    <add name="DnnForge - NewsArticles.SearchEngineSiteMapProvider" type="iFinity.DNN.Modules.NewsArticlesSiteMapProvider.NewsArticlesSiteMapProvider, iFinity.DNN.NewsArticlesSiteMapProvider" defaultPagePriority="0.5" defaultPageUpdateFrequency="daily" singlePagesOnly="true" showCategories="false" featuredOnly="false" showHiddenAndExpired="false" showSecured="false" />

    Please let me know if I have missed an obvious setting or if  this is a bug, please provide an update. 

    Thanks

    Henry

  • Avatar
    Henry h

    Hi Scott

    I was wondering if looked into the above problem that the sitemap for NA includes unpublished links that are yet to be published in the future. Would be great if you can provide a fix for this. 

    Thanks 

    Henry

  • Avatar
    varun

    Hi,

    I tried the above provider but me too doesnt get any additions in urls for articles and blogs. Can anyone share the steps and configs in order to have articles links in sitemap?

     

    Thanks,

    Varun

Please sign in to leave a comment.

Powered by Zendesk