Feed Manager Feed Name Link Incorrect

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/24/2013 10:48:50 AM
Gravatar
Total Posts 29

Feed Manager Feed Name Link Incorrect

  • Windows 7 / Windows 2008 R2 SP2, 64-bit​
  • IIS7
  • PostgreSQL version 9.2.3, 64-bit
  • ​.NET 4.0
  • mojoPortal 2.3.9.8

Using the Feed Manager feature, I have activated one of the "Show Feed Name..." settings. This issue is the same whether the setting is "Before Content" or "After Content."

The Feed Manager is on the Home page. The URL of the Feed Name link for every story excerpt is "~/home.aspx," rather than the page actually entered.  I do not know if this is pointing at the home page specifically, or at the page on which the Feed Manager is posted.

I have three feeds in the manager, all pointing at the Blog feature on different pages. In some, it is being used for news articles, and for blogs in others. In the Feed Editor page, the feeds are entered as:

  • ~/acs-blog.aspx
  • ~/intern-blog.aspx
  • ~/cva-news.aspx

All these addresses are correct, and their entries are appearing in the Feed Manager correctly. But all the "Feed Name" links are pointing at "~/home.aspx."

9/24/2013 12:49:42 PM
Gravatar
Total Posts 18439

Re: Feed Manager Feed Name Link Incorrect

Can you produce the problem on our demo site so I can see what you are talking about? It seems to work correct for me.

Note that when you add a feed you specify both the site url and the feed url and should use fully qualified urls like http://yoururl not ~/yoururl

 

9/24/2013 4:14:34 PM
Gravatar
Total Posts 29

Re: Feed Manager Feed Name Link Incorrect

OK. On the demo site, home page, at the bottom of the center column.

The "Feed Name" link, "Blog Feeds," is pointing at https://demo.mojoportal.com/home.

On the Add/Edit Feeds page:
   Web Site URL:  ~/blog.aspx
   Feed URL:  ~/Blog/RSS.aspx?p=5613~9280~-1

The reason I am using the "~/" format for the URL's is because we are setting up as new web site. Doing that, we do it on a a test site, then deploy it live. In this case, the test site, visible only to internal computers, is http://uat.cvacoop.com. It is loaded and operating off of the external web server, but can only be accessed through our DMZ from inside. The IIS of the machine is set to route both "uat.cvacoop.com" and "www.cvacoop.com" to the same binding. Also, the mojoPortal site is set to display the same site under both address names.

To make it go live this week, all we will do is change the routing of the outside recall using our firewall/router, to send "www" requests from the old server running DotNetNuke to the new server running mojoPortal. The change to the outside world will be instantaneous. The news/blog feeds only exist on the "uat" site now. Once we switch, they will only exist on the "www" site.

By using "~/" format for the URL's, then we won't have to make changes to any settings, anywhere in the system, when we switch the outside router.

BTW -- Unrelated to the issue--
I was a core developer for DotNetNuke back when it was new. I was the primary developer who made DNN skinnable, and 90% of their skinning code is still the code I wrote 10 years ago. It's said (though there is no proof), that Microsoft took the DNN skinning code and used it to build the layout.Master methodology. Cool to think about, but that's not where I'm going with this. Just a way to tell you how familiar I am with DotNetNuke.

The point I'm making here is that DNN leaders have gone way, way wrong with that framework-- Their focus on money more than quality, their poor customer service, and their slow development and bug fixing-- All of that made me quit them with disgust. And it has only gotten worse every year since.

I think mojoPortal is far superior to DNN, and that's why we're changing our web site to mojoPortal. You have proven that to me three times, with two bug reports and a feature suggestion that I submitted. You fixed or implemented all of them within one day, and I can't express my gratitude sufficiently. Thank-you so much!

 

9/25/2013 12:05:41 PM
Gravatar
Total Posts 18439

Re: Feed Manager Feed Name Link Incorrect

Hi,

Ok, I investigated this problem and here is what I found.

The Show Feed Name setting enables showing the feed name and link above or below the feed items. The url used does not come from the url entered as the web site url for the feed, it comes from the actual rss feed in the <channel><link>

The bug was actually in the blog RSS.aspx and has probably been there for a while. It was populating <channel><link> with SiteUtils.GetCurrentPageUrl() which used to work there but a few versions back we changed the feed to combine url paremeters and the pageid parameter is no longer a separate parameter in the url so the SiteUtils.GetCurrentPageUrl() was returning the home page url instead of the blog page url because with no pageid the default page is returned.

This is now fixed in the source code repository and on the demo site.

Thanks for the compliments on mojoPortal!

​Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.