Register   Login
     
  Latest Posts  
Has pay-per-ad. been added yet?
by wpmilk on 1/08/2009 7:13 PM
Has pay-per-ad. been added yet?
by wpmilk on 1/08/2009 7:13 PM
RE: Zoom for map
by richardcook on 1/08/2009 6:39 PM
RE: Does anyone have XHTML Compliant PA Template
by tmahmud on 1/08/2009 5:47 PM
Simple Lightbox
by eureka on 1/08/2009 5:39 PM
RE: Does anyone have XHTML Compliant PA Template
by netmds on 1/08/2009 5:21 PM
User Profile Integration
by blob150 on 1/08/2009 5:07 PM
RE: RSS and Calendar Icons not showing in new template
by lolorn on 1/08/2009 4:38 PM
RE: Ligtbox effect does not working in DNN 5
by smcculloch on 1/08/2009 3:38 PM
Use Lists in host menu in custom field
by Codepoint on 1/08/2009 3:32 PM
  Forums  
Subject: File Links in feeds
Prev Next
You are not authorized to post a reply.

Author Messages
Jack HoelzUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:815


11/20/2008 7:15 AM  

Scott, links to files used to show up in the feeds. This was awsome for our use of the module for podcasts because a visitor could subscribe and download the files automatically. Ths seems to have broken with the new system.

Because of the automatic creation of the summary we have gone to using details, which is the embed code for the file and a summary with the attachment being a direct link to the MP3.

We then create a template which includes both the articlelink and linktarget. See an example here http://dev.icthus07.com/Modules/Ventrian/Publisher/tabid/132/Default.aspx

The visitor has a choice of listening online or downloading the file, but when you look at the rss feed the attachement no longer shows up.

Any suggestions of what we need to do to get this fixed?


Get The Net!!

Jack Hoelz
Jack HoelzUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:815


11/20/2008 7:30 AM  
And if anyone could tell me how to force the MP3 to download in the template code only that would be great. We still want the MP3 to behave as usual (playback based on user settings) anyplace else but here we would like to force the file to download.

Thanks!

Get The Net!!

Jack Hoelz
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12819


11/21/2008 5:30 PM  
In admin options, there is a setting called "Allow html in syndication?", do you have this enabled? This is the only way to have link tags in the RSS.

Is the download link an attachment in news articles? This is the only way it will show as an enclosure?

Forcing the file to download is really a browser issue, it is setup so that when you click the mp3 file it doesn't automatically download it, but opens it up in the specified program. You can have some code on the server side which would force it to ask to save the item, but this would require another page to be written that would serve the file.

Scott McCulloch
Site Administrator
Jack HoelzUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:815


11/24/2008 6:42 AM  
As soon as something is added to the details the linked file does not show in the feed. Check out this feed here http://www.trinityfreistadt.com/DesktopModules/DnnForge%20-%20NewsArticles/Rss.aspx?TabID=291&ModuleID=493&CategoryID=521

Only the entries with no "Details" show the linked file.

Get The Net!!

Jack Hoelz
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12819


11/24/2008 6:47 AM  
Ok, I'll look into it.

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12819


12/01/2008 3:38 AM  
Jack,

I can't reproduce this, I create an article with details and a summary and an attachment. This comes up with the enclosure file.

Are you using the latest version? Are you attaching the file as an attachment?

Scott McCulloch
Site Administrator
Jack HoelzUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:815


12/01/2008 4:07 AM  
The link to the file is an external link to a file stored on amazon aws, not an upload to the file system. That should not matter should it?

Get The Net!!

Jack Hoelz
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12819


12/01/2008 4:24 AM  
Yes, it does matter, only internal files are captured as enclosures because it requires additional information such as file size, mime type, etc.

I'm not sure how this was working before?

Scott McCulloch
Site Administrator
Jack HoelzUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:815


12/01/2008 5:41 AM  
Is there no way to capture an external file as an enclosure then?

Get The Net!!

Jack Hoelz
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12819


12/01/2008 5:46 AM  
Not in the current module, the code would need to request the file to determine the file type and file size (probably when adding/updating an article) and store it somewhere to use in the enclosure.

So at the moment, it only does internal files.

Scott McCulloch
Site Administrator
Jack HoelzUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:815


12/01/2008 6:02 AM  
How much to get this done? This is really important for our application.

Get The Net!!

Jack Hoelz
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12819


12/01/2008 6:26 AM  
1 hour -> sales@ventrian.com

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12819


12/02/2008 5:53 AM  
Hi Jack,

I've just you an updated build, let me know if it works out.

Scott McCulloch
Site Administrator
Jack HoelzUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:815


12/02/2008 3:48 PM  
Early testing looks perfect, feeds are great and downloads are working perfectly in aggregators.

Get The Net!!

Jack Hoelz
You are not authorized to post a reply.
Forums > Modules > News Articles > File Links in feeds



ActiveForums 3.7