I made some changes to the website in staging. Just a few things regarding the blog list, a little bit of left padding and adding a recent news header above it. I also changed the link style a little bit. Feel free to revert any/all changes I've made. :)
Thanks, Christopher On Tue, Feb 14, 2012 at 9:05 PM, Prescott Nasser <[email protected]>wrote: > > Editing the site: http://www.apache.org/dev/cms#usage Staging: > http://lucene.net.staging.apache.org/lucene.net/ > > Date: Tue, 14 Feb 2012 11:03:58 -0800 > > From: [email protected] > > To: [email protected] > > Subject: Re: [Lucene.Net] Blog Setup > > > > Looks like the blog was successfully setup (that was quick!). You can > > access it here: https://blogs.apache.org/lucenenet/ > > > > I've migrated the whopping 3 new entries we already have on our > > index/front-page in the news section over to the blog. I would give a > shot > > at integrating it into the website, but I actually have no idea how to > edit > > the website. :) > > > > > > Thanks, > > Christopher > > > > On Mon, Feb 13, 2012 at 6:17 PM, Prescott Nasser <[email protected] > >wrote: > > > > > > > > I've submitted a ticket here: > > > https://issues.apache.org/jira/browse/INFRA-4433 I only added my > name, I > > > wasn't sure who else would want access - if you do want it, submit a > > > comment to that ticket with your apache username and full name. I'm > going > > > to try and integrate this into the site soon. I also have some ideas > about > > > how to utilize the blog that I'll outline after I get it up and > running ~P > > > > From: [email protected] > > > > To: [email protected] > > > > Date: Mon, 13 Feb 2012 13:39:11 +0100 > > > > Subject: [Lucene.Net] Blog Setup > > > > > > > > Hi all, > > > > > > > > If we want a blog for Lucene.Net on blogs.apache.org, the > instructions > > > > to request one are at > > > > < > https://cwiki.apache.org/confluence/display/INFRA/Resource+request+FAQs > > > > > > > > Mainly we should have a list of ASF ids of the initial set of admins > and > > > > authors. > > > > > > > > I had a look at how the RSS snippets are added to www.apache.org's > index > > > > page and it doesn't look to difficult to adapt. > > > > > > > > In > > > > < > > > > https://svn.apache.org/repos/asf/infrastructure/site/trunk/content/index.html > > > > > > > > there is > > > > > > > > {% for e in blog.list %} > > > > <h4><a href="{{ e.url }}">{{ e.title }}</a></h4> > > > > <div class="section-content">{{ e.content|safe|truncatewords_html:50 > > > }}</div> > > > > <hr> > > > > {% endfor %} > > > > > > > > which iterates over a blogs collection created in path.pm via > > > > > > > > [qr!^/index\.html$!, news_page => > > > > { > > > > blog => ASF::Value::Blogs->new(blog => "foundation", > limit=> > > > 3), > > > > }, > > > > ], > > > > > > > > and uses the ASF::Value::Blog package that is part of the CMS. > > > > < > > > > https://svn.apache.org/repos/infra/websites/cms/build/lib/ASF/Value/Blogs.pm > > > > > > > > > > > > So getting content from the blog to the main page is pretty easy. I > > > > think the main site is re-created every fifteen minutes to ensure > things > > > > are fresh, not sure how one would go about this for a page that > doesn't > > > > change that often (manually triggering buildbot might be an option). > > > > We'd need to ask this on the site-dev mailing list which is > dedicated to > > > > the CMS. > > > > > > > > Stefan > > > > > > > >
