Actually, please don’t mind this post people… After thinking a bit about it, I realized what a stupid idea this was. It would eat time that could be much more wisely spent on improving other parts, and at a very questionable gain.

 

I’ll just link the SourceForge pages that contain the file releases.

 

Fred

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fredrik Grohn
Sent: Sunday, November 27, 2005 10:47 AM
To: 'WiX-devs'
Subject: [WiX-devs] rfc: Web Site and SourceForge Data Exports

 

Hi,

 

I have been looking into the possibilities to integrate the WiX web site with the SourceForge file release system. The intention is to extract information about file releases in order to display them under the “Downloads” section of the web site. This would reduce the maintenance overhead of keeping the information up to date in two locations.

 

What I have found so far is that the only export method SourceForge seems to provide is an RSS feed. The consequence of that, I think, is that it's not possible to just fetch all existing file releases when needed. Instead one would have to keep a database containing all known file releases, and fetch new releases as they are provided.

 

I'm quite hesitant to solve it this way however. Adding a database and code that maintains it adds a lot of complexity. But on the other hand it is probably better than manually maintaining the information in two places.

 

The way I imagine it, such a solution would include the following parts:

  • A MySql database containing a table with all file releases.
  • A crontab job that reads the RSS feed and adds any new releases to the database.
  • And a PHP code section in each of the pages that contains any info about, or link to a file release, that reads the information from the database.

 

What do you guys think? Would this he a good idea? Does anybody know of a better way to extract this information from SourceForge than through the RSS feed?

 

Fred

Reply via email to