2010/6/12 Claude Brisson <[email protected]>: > >> > If the plugin for news doesn't work well, then I'm cool with just moving >> > the >> > news to an alternate format. It doesn't change that often... >> >> This is a problem: I tried to find a plugin that could work but failed. >> I thought that it was a nice idea to rewrite the news item to a plain >> APT file, but then it won't be included in the main page (currently a >> macro is used that gets the first 3 items of the news), > > Why not a one-line shell script called by an SSI directive, that takes a > text file containing news as input? > > <!--#exec cmd="head -3 news.txt"--> > > news.txt can contain html
I think that it complicates more the situation, since you need to create a partial HTML file of the news that you put normally in that news.xml file. Thus, you need to modify two files when you post a news item. Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
