News stuff

51 posts / 0 new
Last post
Steven.'s picture
Steven.
Offline
Joined: 27-06-06
Feb 26 2007 11:16
News stuff

- top bit could look a fair bit nicer, not big gaps, etc.
- Some kind of punctuation thing between person posted by and tags it's in would be nice. it had the word "in" before right? maybe that would be good?
- i think it would either be best to have one top story like front page with full sized pic, or say maybe 3 or 4 latest with thumbnails at top, then with some latest news by region/sector things below? maybe just UK, West Eur, North Am and Rest of world? then biggest sectors, manufacturing and transport, say, and tags strikes and wildcats?
- have box with latest news discussions threads on forums.

Mike Harman
Offline
Joined: 7-02-06
Feb 27 2007 01:09
John. wrote:
- top bit could look a fair bit nicer, not big gaps, etc.

I deleted loads because it linked to broken shit. Like you said on other thread - right sidebar block with about stuff sounds good.

Quote:
- Some kind of punctuation thing between person posted by and tags it's in would be nice. it had the word "in" before right? maybe that would be good?

I took "in" out because it looked shit, but it looks shit with nothing there as well sad

How about putting tags before posted by? - this would mean it's more consistent with any content types that don't have submitted information displayed (used to be history, library, organise, thought). Actually I've just done this and reckon it looks a bit better.

Quote:
- i think it would either be best to have one top story like front page with full sized pic, or say maybe 3 or 4 latest with thumbnails at top, then with some latest news by region/sector things below? maybe just UK, West Eur, North Am and Rest of world? then biggest sectors, manufacturing and transport, say, and tags strikes and wildcats?

Problem with this is we then have the same article showing up in multiple lists - if something's in UK, strikes, transport - then it could appear three times on that page, which looks silly and wastes space.

We could maybe have some kind of news features block, which displays a random "promoted" article from the past month or something. Or have a couple of randomised blocks with different filters - then there'd be less chance of duplication. Something like "strikes this month", "UK features".

OK, as I'm typing this I'm starting to think of ways of doing it, might as well keep blabbering.

UK, West Eur, North Am and Rest of world?

OK if we change that to:

UK, Europe (west/east), Americas(north south), Rest of World (africa, asia, middle east, oceania) - I reckon they have enough content for this, especially if we then take random articles within a 3-6 week time frame. It's very unlikely they'll overlap then with:

manufacturing and transport if they also take articles within a longish time frame

tags strikes and wildcats?

about 60% of our news or more is about strikes though - and they appear in regions and sectors. We could maybe have a "strike features" though which only covers ones we've promoted manually.

So we could potentially have:

nothing up top except last three news articles. Then 6/7 (?) blocks -four regions, two sectors, one strike features (or something else)

We could do this kind of layout:

New

||article one
||article two
||article three

|| UK || Europe ||
|| Americas || Rest of World
|| Transport || Manufacturing
|| strike features || something to balance - big rss?

Quote:
- have box with latest news discussions threads on forums.

ah, maybe this.

Mike Harman
Offline
Joined: 7-02-06
Feb 27 2007 01:58

and this has what to do with news?

Lone Wolf's picture
Lone Wolf
Offline
Joined: 1-03-06
Feb 27 2007 02:04

NICE Star Wars ref Revol - nicely done. cool

Joseph Kay's picture
Joseph Kay
Offline
Joined: 14-03-06
Feb 27 2007 07:08

revol, the tracker is in the 'explore' drop-down menu now. oh, and i am your father.

Steven.'s picture
Steven.
Offline
Joined: 27-06-06
Feb 27 2007 11:32
Mike Harman wrote:
John. wrote:
- top bit could look a fair bit nicer, not big gaps, etc.

I deleted loads because it linked to broken shit. Like you said on other thread - right sidebar block with about stuff sounds good.

excellent.

Quote:
How about putting tags before posted by? - this would mean it's more consistent with any content types that don't have submitted information displayed (used to be history, library, organise, thought). Actually I've just done this and reckon it looks a bit better.

yup looks good.

Quote:
We could maybe have some kind of news features block, which displays a random "promoted" article from the past month or something. Or have a couple of randomised blocks with different filters - then there'd be less chance of duplication. Something like "strikes this month", "UK features".

yeah sounds good

Quote:
OK, as I'm typing this I'm starting to think of ways of doing it, might as well keep blabbering.

UK, West Eur, North Am and Rest of world?

OK if we change that to:

UK, Europe (west/east), Americas(north south), Rest of World (africa, asia, middle east, oceania) - I reckon they have enough content for this, especially if we then take random articles within a 3-6 week time frame. It's very unlikely they'll overlap then with:

manufacturing and transport if they also take articles within a longish time frame

tags strikes and wildcats?

about 60% of our news or more is about strikes though - and they appear in regions and sectors. We could maybe have a "strike features" though which only covers ones we've promoted manually.

So we could potentially have:

nothing up top except last three news articles. Then 6/7 (?) blocks -four regions, two sectors, one strike features (or something else)

We could do this kind of layout:

New

||article one
||article two
||article three

|| UK || Europe ||
|| Americas || Rest of World
|| Transport || Manufacturing
|| strike features || something to balance - big rss?

yeah that sounds good. you mean latest at the top, then the rest randomised from the past month or two say?

Quote:
Quote:
- have box with latest news discussions threads on forums.

ah, maybe this.

yeah we should do that on every section, and in every section forum have the latest content for the parent section.

Mike Harman
Offline
Joined: 7-02-06
Feb 27 2007 19:06
John. wrote:
yeah that sounds good. you mean latest at the top, then the rest randomised from the past month or two say?

Bear in mind I've no idea if it's possible, but I reckon that'd work best.

Quote:
yeah we should do that on every section, and in every section forum have the latest content for the parent section.

Yeah I like that.

Lone Wolf's picture
Lone Wolf
Offline
Joined: 1-03-06
Feb 28 2007 02:50

JK

Revol secretly always suspected you were his father!!! Even in the midst of fighting with you tooth and claw there was a small part of him that felt connected to you in some way - inexplicably linked. A part of him that felt you were both , deep down, part of the same thing - that all pervading and all powerful force known as libertarian communism.!!!.. red n black star Etc etc

And just so i don't get told off by John - just to say again how pleased i am i can submit News articles once more - hurrah!! Tho i am feeling a pressing need to start a new sci-fi thread soon in libcommunity....

Love

LW X

Mike Harman
Offline
Joined: 7-02-06
Mar 1 2007 09:08

So I changed the top news thing to show articles with title, photo and teaser - this is again restricted to "promoted" stuff.

This is a custom list view rather than standard teasers (which'd include submitted/tags etc.) - so a bit smaller and allows for different imagecache settings. At the moment there's padding between title and teaser, and under the image though which I couldn't get rid of.

Mike Harman
Offline
Joined: 7-02-06
Mar 8 2007 18:13

bump - going to try a two month filtered block and stick it on news sidebar to test.

Mike Harman
Offline
Joined: 7-02-06
Mar 8 2007 19:32

OK I think this works. Realised that for the UK one we'll have to restrict to 9-10 days - otherwise we'll have TV guides a month out of date which won't work. Tends to be more UK news anyway so that works.

Steven.'s picture
Steven.
Offline
Joined: 27-06-06
Mar 8 2007 19:33

we could just kill UK from tv guide tags? cos TV guide is like a uk-based feature in itself

Steven.'s picture
Steven.
Offline
Joined: 27-06-06
Mar 8 2007 19:34

catch it looks damn good!

also i realised with section indexes we can use side columns more too...

Mike Harman
Offline
Joined: 7-02-06
Mar 8 2007 20:03

unless we get a US guide or something, but yeah that'd work fine.

Joseph Kay's picture
Joseph Kay
Offline
Joined: 14-03-06
Mar 8 2007 20:09

what about eventually having the TV guide as a feature in the libcommunity index? that would need a new content type i guess ...

Steven.'s picture
Steven.
Offline
Joined: 27-06-06
Mar 8 2007 20:13
Quote:
what about eventually having the TV guide as a feature in the libcommunity index? that would need a new content type i guess ...

nah - just chuck it in library and put feed in libcommunity

Joseph Kay's picture
Joseph Kay
Offline
Joined: 14-03-06
Mar 8 2007 20:38

yeah that'd do it i guess

Mike Harman
Offline
Joined: 7-02-06
Mar 9 2007 22:43

So that block seems to be working great.

Going to do ones for Americas, Europe and Rest of World - all at filters of about 3-4 weeks, then we can see if they vary enough. When it's set up, will cache each one for about an hour each.

Then sectors - can do transport and manufacturing (or education?). Or what I'd really like is a block where the title and sector is randomised as well as the sort order filtered by date - so we could split the sectors in two, and have two blocks spitting them out filtered half each. Asking on drupal.org now.

Mike Harman
Offline
Joined: 7-02-06
Mar 10 2007 12:42

alright draft version of this at http://libcom.org/news

Also found a way to have one view for latest forum topics in a particular forum, then make blocks from that with php in to decide which forum it uses. Should save work later.

still work to be done, and some dups will still show up, but getting there.

Steven.'s picture
Steven.
Offline
Joined: 27-06-06
Mar 11 2007 13:38

joseph k - nice one with vietnam story - don't forget to do promoted to front page tho on new shit with thumbnails

Steven.'s picture
Steven.
Offline
Joined: 27-06-06
Mar 12 2007 17:52

great work with blocks catch!

a few things:
- the regions are proper nouns, which are capitalised elsewhere, so i think we either put them in caps or edit all existing region tags,forum titles and links to be lower case as well
- eastern eu and russia should just be easter eu i think
- uk story is the same every time, maybe could extend how far back it can take from?
- africa, asia etc. links could be in alphabetical order?
- could you put north america full name in?
- edu only has one story, could we have instead block with "edu, health, public sector"?
- transport could be trans, energy perhaps?
- needs link to all sectors/all regions/all tags? news

Mike Harman
Offline
Joined: 7-02-06
Mar 12 2007 18:33
John. wrote:
great work with blocks catch!

a few things:
- the regions are proper nouns, which are capitalised elsewhere, so i think we either put them in caps or edit all existing region tags,forum titles and links to be lower case as well

Yeah couldnt decide, but I'm fine either way. We should make a firm decision though.

Quote:
- eastern eu and russia should just be easter eu i think

To be honest, with EU expanding eastwards I'm wondering if we should merge into one big Europe tag, reckon it looks about 16 years out of date at the moment. I don't think history would suffer too much - we've still got USSR and Russian Revolution and country tags etc.

Quote:
- uk story is the same every time, maybe could extend how far back it can take from?

yeah but need to take out tv guide in that case to avoid really old listings - could probably filter the tag for it easily enough.

Quote:
- africa, asia etc. links could be in alphabetical order?

put them in order of how often we get news for them, but easy either way.

Quote:
- could you put north america full name in?

So "North America / South America"?? I wanted "Americas", but that doesn't work with links since there's nothing to make into a link then.

Quote:
- edu only has one story, could we have instead block with "edu, health, public sector"?
- transport could be trans, energy perhaps?

I want to go one better than that and have two blocks which choose from a different sector at random every hour or so - one out of 6, one out of 7. Haven't yet worked out how to do that with clickable titles for the correct sector, but I'm sure it's possible.

So you'd have "Transport", then you look again an hour later and it's a story from "Media" - still filtered last three weeks or whatever. If that turns out to be too hard, then yeah we could add more in to those.

Quote:
- needs link to all sectors/all regions/all tags? news

We could put the sectors block on news index? Eventually we'll be able to link to a news google map - maybe a month or two away.

Mike Harman
Offline
Joined: 7-02-06
Mar 13 2007 19:45

OK I'm nearly there on these random sector blocks (which could be random any tag blocks eventually).

if you go to libcom.org/blocktest you'll see progress so far.

What it does is generate a random article from a random taxonomy term - have set it up for claimants, construction, communications. So each time you refresh, it filters by a different one of those terms, then spits out a random article from the sector it's chosen.

I've got as far as to display the tid (term id - number of the tag in the database) above the article link. The next stage is to turn this into a link to the taxonomy term, then add the other sectors in, and add a time filter so it doesn't go back three or so years.

Then I'll be a happy fucker!

Mike Harman
Offline
Joined: 7-02-06
Mar 13 2007 20:19

haha it's working.

goimg to add the rest of the sectors in now then set up thumb teaser/date filter and that'll be it!

Steven.'s picture
Steven.
Offline
Joined: 27-06-06
Mar 13 2007 21:11

wow, fuckin a catch

Mike Harman
Offline
Joined: 7-02-06
Mar 13 2007 21:46

just about there. Be up in 5 minutes.

Mike Harman
Offline
Joined: 7-02-06
Mar 13 2007 21:50

yep. in now.

set to update every 30 minutes - there's quite a lot going on so not a good idea to reload every page request.

To balance with regions - we could split it into two blocks, each one dealing with half the sectors. Will wait until people have had a chance to check it out first though.

Only issue with it is if there hasn't been a post in a sector for two months, it'll display empty with the sector title. I think it's only military that's like that at the moment.

Mike Harman
Offline
Joined: 7-02-06
Mar 13 2007 22:25

This is in now. Realised just after I did it there's a much cleaner way to get the header links generated that doesn't require all that repetition, but not tonight.

Now this is working, there's more options. We could have a similar block on the sectors index somewhere. We could also do the same thing for regions or selections from dfiferent tags as well.

Steven.'s picture
Steven.
Offline
Joined: 27-06-06
Mar 15 2007 13:05

looking at it, i think maybe news needs a latest news block on the right with maybe 10-20 stories in, just headlines maybe? cos we're putting news up so fast loads is being lost. above news forum feed perhaps

also don't think news content type needs who it's posted by displaying, does it?

Mike Harman
Offline
Joined: 7-02-06
Mar 15 2007 15:45
John. wrote:
looking at it, i think maybe news needs a latest news block on the right with maybe 10-20 stories in, just headlines maybe? cos we're putting news up so fast loads is being lost. above news forum feed perhaps

Was thinking about that, but it means duplication since we can't take the last three out. Easy to do though.

Or we could increase the number to five or six?

Quote:
also don't think news content type needs who it's posted by displaying, does it?

hmm, I quite like having it, and it credits the person who submitted the article. Also means changing the theme to take that out, otherwise time/date goes as well.

Steven.'s picture
Steven.
Offline
Joined: 27-06-06
Mar 15 2007 15:55
Mike Harman wrote:
John. wrote:
looking at it, i think maybe news needs a latest news block on the right with maybe 10-20 stories in, just headlines maybe? cos we're putting news up so fast loads is being lost. above news forum feed perhaps

Was thinking about that, but it means duplication since we can't take the last three out. Easy to do though.

Or we could increase the number to five or six?

yeah i did think that, but then thought that right now that wouldn't be enough, and it would push all regions/sectors stuff off the first page someone would view... also we seem to be using 3 latest across all indexes. i think a bit of duplication would be ok...

Quote:
Quote:
also don't think news content type needs who it's posted by displaying, does it?

hmm, I quite like having it, and it credits the person who submitted the article. Also means changing the theme to take that out, otherwise time/date goes as well.

hmm that would be annoying... but yeah it also shows there aren't many people posting news...