Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
ss news site

 
Post new topic   Reply to topic Printable version
 View previous topic  Help with PHP Post :: Post .exe hosting  View next topic  
Author Message
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Fri Sep 02, 2005 6:46 pm   Post maybe stupid    Post subject: ss news site Reply to topic Reply with quote

In an effort to see a half decent news site I made this
http://toktok.sscentral.com/ssnews.php

It lifts news from other sites for the past 21 days. Not all sites have (easily accessable) date stamps on their news, these items will always appear 14 days old.

If you want to see a site listed on there leave a comment here.

If you know css I'm looking for a way to do a 2 column format. Left column for news with a date, right column for undated news. http://toktok.sscentral.com/demo.html was my attempt, as you can see there are gaps to the left or right of the article where there shouldn't be.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Sep 02, 2005 6:55 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

nice
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sat Sep 03, 2005 10:32 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Good job, this should be useful.

Quote:
If you know css I'm looking for a way to do a 2 column format. Left column for news with a date, right column for undated news.

You could just go on the cheap and use a table. Or you could experiment with floating boxes but they suck.
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sat Sep 03, 2005 11:16 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

very very nice script.
Maybe it can be used at sscentral.com at one time? TheBajan is currently busy rebuilding that site.

About CSS, was about to suggest the same as Cyan; use tables ;p
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Sat Sep 03, 2005 3:08 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Code: Show/Hide


<div class="container">
    <div class="left" style="float:left; width:50%;">
    </div>
    <div class="right" style="float:right; width:50%;">
    </div>
</div>


_________________
There are 7 user(s) ignoring me right now.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Sep 04, 2005 4:52 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Well the thing is, I have all the articles sorted by date, so it would be nice if I could just assign a tag... meh I could just make all the undated articles go at the bottom of the sort and use two div's or a table. bleh.

Anyway I added WZ CTF, sscentral and SSDL.

As the amount of articles is increasing I'm thinking of moving the date limit to 14 days (from 21), comments?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Sun Sep 04, 2005 5:57 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Awesome. I love it. Can you get http://sscx.net/asss/ in there? I'm willing to reformat the page to look like anything you want if it'll make it easier.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Sep 04, 2005 6:01 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Just keep the date at the beginning of each list item and it should be fine.

Edit: one thing you might want to do is make the latest item read 2005 instead of 2004.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Sep 04, 2005 7:04 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

2 words: RSS feed(s).

I mean I know smong is parsing out HTML and locating each news entry that way; but the intent of an RSS feeds to accomplish the same thing in a more simplier fashion. And then anyone can read it, in say, Firefox live bookmarks! w00t. tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Sep 04, 2005 8:27 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I might add an rss feed. That's probably not what you meant, it's unlikely every popular ss site with news is going to implement rss.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Sep 04, 2005 9:00 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Ya, what I'm referring to is that most sites should offer it now. I was hesistent at first but after adding sites like slashdot, bbc latest headlines, php.net, secunia, mozilla dev topics, file hippo it's a great addition to keep up to date.
Back to top
View users profile Send private message Add User to Ignore List
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Sun Sep 04, 2005 10:56 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Ya, I use Firefox, but, what the hell is an RSS feed?

It may seem like a dumb question, but, I am not sure what it is, I heard of it before, but I don't know what is so great about it or what it is.
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Sep 04, 2005 11:20 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

RSS

My SS-news feed URL, use firefox add a new 'live' bookmark, you'll see it expand once it retreives the data:
http://cypherjf.sscentral.com/category/ss-news/feed/

It's an easier way to syndicate news feeds, or data together. It generally takes the form of XML style.

Firefox will show THIS IMAGE when it determines a feed is present.


Anywho, sorry for stealing focus off the page. I just wanted to say if people used RSS feeds, it'd make parsing data a lot easier for these type of projects.
Back to top
View users profile Send private message Add User to Ignore List
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Mon Sep 05, 2005 12:14 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Thanks for the definition CypherJF, now i got 1 more question on it, how do I hook FF up to that feed?
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Mon Sep 05, 2005 12:44 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

See that 'THIS IMAGE' link, you can subscribe to any of them as you choose and it should open up a window for where you want to bookmark it to.
Back to top
View users profile Send private message Add User to Ignore List
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Mon Sep 05, 2005 1:02 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I don't see that image on my browser window at all in the bottom right corner.
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Mon Sep 05, 2005 1:27 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Are you using that theme? If you visit a direct feed site like the address I posted, it won't display it as a feed because Firefox will parse the HTML for tags stating where the feeds exist. Make sense?

Try going to http://cypherjf.sscentral.com, you should see an icon similar to that somewhere in the status bar.
Back to top
View users profile Send private message Add User to Ignore List
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Mon Sep 05, 2005 5:31 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

cool, cypherJf. Didn't know about FF's RSS Support too.

Once we are rebuilding 17thparallel.com im sure RSS is going to be implemented into it.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
SyrusMX
Wub me, everyone!
or I'll wub your ...


Age:43
Gender:Gender:Male
Joined: Jun 24 2003
Posts: 314
Offline

PostPosted: Mon Sep 05, 2005 5:46 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Dude, 17th's staff page hasn't been updated since 11/04...
Back to top
View users profile Send private message Add User to Ignore List Send email
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Mon Sep 05, 2005 8:24 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

The current 17thparallel.com website is bugged, crappy, sloppy code, bad design and I hate it.
That's one of the reasons why its going to be remade. Probably its going to use some database for the staff list so it goes all automatically icon_cool.gif

But more in a reply to your statement: "we know"
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Mon Sep 05, 2005 10:22 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Okay, I see the feed icon. But what is the difference between the 3 feeds?
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Mon Sep 05, 2005 12:02 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I'm not sure the exact differences, this is where someone else can come in and help explain icon_wink.gif. But I always select the RSS 2.0 until 3.0 is released/implemented.
Back to top
View users profile Send private message Add User to Ignore List
Swift
Newbie


Joined: Jun 30 2004
Posts: 11
Offline

PostPosted: Fri Sep 23, 2005 5:11 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I've started implementing RSS Feeds to SSForum/SSCentral.Com just so you all know. Smong I will talk to you later in-game about this alright?
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 164 page(s) served in previous 5 minutes.

phpBB Created this page in 0.722574 seconds : 47 queries executed (77.8%): GZIP compression disabled