Re: dot articles on planet kde
Stuart Jarvis <[email protected]>
| Newsgroups | gmane.comp.kde.events |
|---|---|
| Message-ID | <201008121144.21272.stuart.jarvis__23757.4711944491$1281609931$gmane$org@gmail.com> |
On Wednesday, August 11, 2010 01:23:14 pm Stuart Jarvis wrote: > On Tuesday, August 10, 2010 04:24:37 pm Agustín Benito wrote: > > Hi, > > > > (just an opinion) > > > > I just want to point out that this can be another of the several times we > > have ended up having disscussions related to the planet that can be > > solved with a technical action (more flexible tool, tag filtering etc.), > > to do things we cannot do now (languages, publish just KDE related > > posts, now project posts/blogs or dot).... > > > > Maybe we should face the technical issue first and then we can solve the > > administrative decisions easily. Right now is kind of "all or nothing" > > in most of this issues. > > > > Do you agree? > > I agree. I'd also rather just have the one planet, with some sane default > (current set up) and configuration options that are remembered, i.e. by > cookies. > > Hmm, ok then. I'll look in to it this weekend to work out how difficult it > would be (just html tags, CSS and a bit of Javascript to control it so it > shouldn't be too hard) and then work with Jonathan to get this done. It > may take a while though, just due to limited time. > Ok, I had a quick look last night. Within a few constraints this is very simple. The main constraint is that the Python script will still select X articles to display on the front page as it does now, but by default we would hide the application and Dot ones with CSS so you would have (often) less than X articles dispalyed by default. According to personal preferences, this hiding can then be overridden with Javascript, remembered between visits using cookies. So the number of articles shown by default would vary according to how many articles within X are not personal blogs. However, personal blogs are the largest by far, so I don't expect the casual user would notice that the number of articles varies between say X and X-5. We could optionally make X larger than it is now too. If everyone is happy with that, then I can probably have a solution to pass to Jonathan very quickly (could be done this weekend). There would be minimum overhead in the Python code, all it would need is Python to write out a different class to blog entry divs depending on whether it is a personal, application or Dot feed - wherever the feed list is stored will need an additional field to identify the type. Other solutions, such as always having a fixed X number of articles on page one whatever the user preference for included feeds would require a lot more changes in the Python code (and creation of several sets of static pages) OR generation of the page on demand (expensive, maybe not so bad if done with a little PHP add on) or masses more Javascript and an ajaxy approach that I wouldn't have time to do for ages. Thoughts? Stu _______________________________________________ This message is from the kde-promo mailing list. Visit https://mail.kde.org/mailman/listinfo/kde-promo to unsubscribe, set digest on or temporarily stop your subscription.