On 14 September 2012 18:01, Martijn van Beurden <mvanb1 at gmail.com>
wrote:> Hi all,
>
> I've updated the RSS feed and made the pages fetch and display that
feed.
> Now only the feed had to be updated to update the pages as well.
>
> I have included a patch, however, I've never worked with git before so
I
> hope everything is done correctly. If not, please tell me. I've removed
the
> feeds/news-atom1.xml file, however that doesn't show up in the diff
file?
>
> I would like to refresh the rest of the website as well, but changing the
> menu (to remove the russian part of the website for instance) requires to
> update all the pages, of which there are quite a lot. With my own website,
I
> use PHP includes to keep a single 'header' and 'footer'
file which is
> included in every page to keep updates easy. Would that be possible here as
> well? Does Xiph run on PHP? Are there other methods of 'including'
a single
> header/footer that are preferable over PHP includes?
>
IIRC the xiph sites use server-side includes (apache SSI) for headers
and footers. I can't see the logs right now, but I vaguely recall that
someone started porting the flac site to use the usual xiph include
style, and that version is in SVN at:
http://svn.xiph.org/websites-new/flac.xiph.org/
perhaps that would be a good place to start, and co-ordinate with the
xiph.org webmaster about getting the new version installed.
cheers,
Conrad.
>
> On 30-08-12 21:46, Erik de Castro Lopo wrote:
>>
>> Sorry, for the late repsonse Martijn. I've been crazy busy.
>>
>> Martijn van Beurden wrote:
>>
>>> On 28-08-12 10:46, Erik de Castro Lopo wrote:
>>>>
>>>> I think thats a great idea. WOuld be happy to have someone pick
>>>> this up and run with it.
>>>
>>> So I got busy but stumbled upon several things. I'm not sure
why there
>>> are two boxes displaying the same news on the homepage right now,
so I
>>> made two screenshots of possible designs, one which keeps both
boxes and
>>> one that moves everything to the sidebar. I've enlarged the
sidebar a
>>> bit in both.
>>>
>>> http://www.icer.nl/images/ktf/flac-website-both.png
>>> http://www.icer.nl/images/ktf/flac-website-sidebar.png
>>>
>>> The design changed a little because I couldn't get everything
exactly
>>> the same, which I assume isn't much of a problem.
>>
>> Its not.
>>
>>> Anyway, I've updated
>>> the feed from the ancient atom format to the now standard RSS 2.0
spec,
>>> made some XSL-files to transform this feed to different lay-outs
and
>>> googled some javascript to embed it into the website and added some
>>> search results for 'FLAC-news' :)
>>>
>>> Any thoughts about this lay-out? :)
>>
>> Sorry, no. Happy if you're thinking about and working on it :-).
>>
>> Erik
>
>
>
> _______________________________________________
> flac-dev mailing list
> flac-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/flac-dev
>