Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Svn changes over RSS feed
Re: Svn changes over RSS feed [message #25186 is a reply to message #25181] Sat, 13 February 2010 15:44 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Mirek
luzr wrote on Sat, 13 February 2010 13:41

I am afraid this will be more easily done in U++ and uppweb and at the point, more easily included to the front page too.

Sure, it could be written in U++. But I don't see any strong reason. I hoped that this could be run after each commit from post-commit hook, too keep the informations always actual (Do you agree with that?). The hook can of course run binary or even be a binary itself. The only problem is that it is out of version control. So either way, script or binary, you have to put it in there manually. Using binary just adds one more step, compilation.

The script is ready to use, just put it in svnhooks directory and add code to upload the output to the server. With feed there is no problem, just add a link somewhere, e.g. bellow google search field. The html part for direct inclusion is trickier. I thought it is possible to include html from within uppweb. But now as I look closer I see that it is only in special cases (ads,forum). So that is probably not the way to go.

Would it help if the script would generate QTF instead of html? Then you could just copy the output into uppweb and wait till it is converted and uploaded with the rest of the pages. This way you loose the always-up-to-date part, but for www it doesn't really matter (at least for me, as I prefer feed:) ).

luzr wrote on Sat, 13 February 2010 13:41


I am now only thinking whether we should introduce some convention about "minor changes". Like putting '.' before commit message?

".fixed small type"

vs

"Refactored theide search"

Mirek

Good idea. I'm not sure if you can force everybody to follow it Smile , but if you do, then there could be regular-user-feed with only major changes (suitable for www too) and dev-feed with complete info.

Honza

EDIT: Just found you can include html code into tpp quite easily. At least if I understand this line correctly:
escape.Add("PAYPAL", LoadFile(GetRcFile("donations.txt")));
Here PAYPAL is index entry in tpp. Not sure how it works, but it does and it is easier than I thought. This way adding the html inside some page is easy. Additionaly, if you don't include the file directly during uppweb compilation, but only a file that will include it on the server (through frame,iframe or some magic), you get even the always-up-to-date feature.

[Updated on: Sat, 13 February 2010 16:09]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: U++ Meeting February 9 21:00UTC
Next Topic: U++ 2070 released
Goto Forum:
  


Current Time: Tue Apr 29 22:10:48 CEST 2025

Total time taken to generate the page: 0.03022 seconds