Home » Community » U++ community news and announcements » Svn changes over RSS feed
Re: Svn changes over RSS feed [message #25084 is a reply to message #25079] |
Tue, 09 February 2010 19:45   |
|
sergeynikitin wrote on Tue, 09 February 2010 18:47 | If there is available log is quite simple. It's just a text file processibg in PHP.
But even for the http-RSS has many handler code and output without regeneration page (such as dynamic PHP).
Need only support PHP, I understand this may be the problem.
And if we have PHP support, we declare the server APACHE to parse html-files as PHP-scripts (configures in .htaccess). And then many dynamic insertion, such as instant processing of RSS is to be available, it would be quite easy.
|
Hi Sergey!
Actually none of this will be needed. PHP is supported, this forum runs in it, so no problem with that. But: Running the "svn log" and parsing the output every time someone asks for feed is unnecessary load for the server. You could cache it, but then we are back to static solution. IMHO having it generated from post-commit is the most elegant solution possible.
BTW: For parsing, I use XML output ("svn -v --xml"), not textual.
Regards,
Honza
|
|
|
Goto Forum:
Current Time: Tue Apr 29 22:16:29 CEST 2025
Total time taken to generate the page: 0.03656 seconds
|