Debug: Database connection successful New Mars Wiki now online / Meta New Mars / New Mars Forums

New Mars Forums

Official discussion forum of The Mars Society and MarsNews.com

You are not logged in.

Announcement

Announcement: This forum has successfully made it through the upgraded. Please login.

#1 2002-11-09 10:55:11

Adrian
Moderator
From: London, United Kingdom
Registered: 2001-09-04
Posts: 642
Website

Re: New Mars Wiki now online

Check out the New Mars Wiki that I've set up at http://www.newmars.com/cgi-bin/wiki.cgi - it's a place where anyone can write and edit anything; I think the whole wiki concept offers huge possibilities for new kinds of collaborative works and sharing of information. To find out what a wiki is, follow the link.

At the moment it's decidedly a bare-bones site, but the idea is for me - and all of you guys - to add material to it, so it should grow and evolve over time. Have fun!


Editor of [url=http://www.newmars.com]New Mars[/url]

Offline

Like button can go here

#2 2002-11-09 11:18:23

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

OMG.

I am going to have a field day.


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#3 2002-11-13 15:31:08

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

Adrian, could you turn on HTML, pleassssssseeeeeee?

The Wiki needs spiffying! smile


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#4 2002-11-14 06:08:07

Adrian
Moderator
From: London, United Kingdom
Registered: 2001-09-04
Posts: 642
Website

Re: New Mars Wiki now online

What exactly is it that you want spiffying? I'm reluctant to turn on HTML because that means people could put a whole load of potentially dangerous crap there, but I'm willing to listen.


Editor of [url=http://www.newmars.com]New Mars[/url]

Offline

Like button can go here

#5 2002-11-14 12:42:21

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

Well, just to color certain text and put tables up (with a different background color) to make it look prettier. smile

I looked for a UseMod patch that would do this, without giving full HTML capablities, but I couldn't find one, unfortunately. Any ideas?

I haven't been at it lately, but I'm basically going to throw all my bookmarks there, and then some stuff about the Mars Society, etc.


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#6 2002-11-14 14:17:08

Adrian
Moderator
From: London, United Kingdom
Registered: 2001-09-04
Posts: 642
Website

Re: New Mars Wiki now online

Ah... well, I'll definitely think about it. It'd be nice to be running a more advanced engine that would allow this but alas, that's not possible right now.


Editor of [url=http://www.newmars.com]New Mars[/url]

Offline

Like button can go here

#7 2002-11-14 14:35:17

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

Well, don't really worry about it so much. I play with lots of Wiki's that don't allow HTML.

If you could, though, just edit out the ?=  =? command so that it puts a colorful table around the text, rather than merely making a bold header.

This can be done by going to ?sub WikiHeading? (in wiki.pl) and replacing the, "<H$depth>$text</H$depth>
" with, "<table border="0" cellpadding="0" cellspacing="0" width="100%" bg="#008080"><H$depth>$text</H$depth></table>
"

Heh. You can substitute the background color for something you'd like, though. I think you'd agree that it would look more appealing. (This is how my favorite Wikis do headers, for the most part.)


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#8 2002-11-14 15:00:25

Adrian
Moderator
From: London, United Kingdom
Registered: 2001-09-04
Posts: 642
Website

Re: New Mars Wiki now online

Wow, you know quite a bit about wikis it seems. I'll go and change it soon.


Editor of [url=http://www.newmars.com]New Mars[/url]

Offline

Like button can go here

#9 2002-11-14 15:34:51

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

Two problems with my code, first, perl reserves " for itself, so you either have to replace it with ' or delimit it with \". I prefer the later since it looks cleaner to the web browser (even though the code itself looks dirty). And second, the text didn't look right so far left, so I added a non-breaking space.

So the final code would be (I changed the color, too- stole it from another Wiki- I like it, but feel free to pick somehting you like! ):

"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bg=\"#E8CC98\"><tr><td><H$depth>?$text</H$depth></td></tr></table>
"

Dang, sorry about the bugs the first go-around. Hope you saw my message before going through with it.

BTW, it doesn't take much to figure that out. I have perl on my computer here, so I just guessed, for the most part. smile


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#10 2002-11-14 16:24:06

Adrian
Moderator
From: London, United Kingdom
Registered: 2001-09-04
Posts: 642
Website

Re: New Mars Wiki now online

Just made the change - looks very nice  smile  I may put it on the other wikis I run. Any other suggestions, Josh?


Editor of [url=http://www.newmars.com]New Mars[/url]

Offline

Like button can go here

#11 2002-11-14 16:28:09

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

Ahh, thank you so much Adrian. I just went and edited the NasaMarsSites page a little, so that the text within the headers is smaller (= is big == is smaller and === is even smaller). It looks really good. smile

I can't think of anything else at the momment, but I'll be sure to bug you when I can. You make a great benevolent dictator. wink


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#12 2002-11-27 22:13:13

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

Hey Adrian. smile

I implemented tables in Usemod. Now we can have pages which look much more organized than they are already. Could you please put this code before the "return $_;" in sub CommonMarkup?

Blah, I edited it again. tongue

BEGIN CODE

  while (my ($table_str) = /<table(.{0,96}?)>.*?<\/table>/gis) {
  my $table_attr; my $table = "<table";
 
    foreach $table_attr ("border=\"?[0-9]{1\,2}\"?","cellpadding=\"?[0-9]{1\,2}\"?","cellspacing=\"?[0-9]{1\,2}\"?","width\=\"?(:?\\b(:?100|[0-9]{1,2})\\b%|\\b(:?800|[1-7]?[0-9]{1,2}\\b))\"?","align\=\"?(:?left|center|right)\"?","bgcolor\=\"?#[0-9A-Fa-f]{6}\"?")
           {
             $table .= " " . $1 if ($table_str =~ /($table_attr)/is)
    }
   
  $table .= ">"; s/<table(.*?)>(.*?)<\/table>/\L$table\E$2<\/table>/is;
 
       while (my ($td_str) = /<td(.{0,96}?)>.*?<\/td>/gis) {
       my $td_attr; my $td = "<td";

         foreach $td_attr ("align\=\"?(:?left|center|right)\"?","valign\=\"?(:?top|middle|bottom|baseline)\"?","colspan\=\"?[0-9]{1\,2}\"?","rowspan\=\"?[0-9]{1\,2}\"?","width\=\"?(:?\\b(:?100|[0-9]{1,2})\\b%|\\b(:?200|[1-2]?[0-9]{1,2}\\b))\"?","bgcolor\=\"?#[0-9A-Fa-f]{6}\"?")
                {
                 $td .= " " . $1 if ($td_str =~ /($td_attr)/is);
         }
 
       $td .= ">"; s/<td(.*?)>(.*?)<\/td>/\L$td\E$2<\/td>/is;
       }
 
       while (my ($th_str) = /<th(.{0,96}?)>.*?<\/th>/gis) {
       my $th_attr; my $th = "<th";

         foreach $th_attr ("align\=\"?(:?left|center|right)\"?","valign\=\"?(:?top|middle|bottom|baseline)\"?","colspan\=\"?[0-9]{1\,2}\"?","rowspan\=\"?[0-9]{1\,2}\"?","width\=\"?(:?\\b(:?100|[0-9]{1,2})\\b%|\\b(:?200|[1-2]?[0-9]{1,2}\\b))\"?","bgcolor\=\"?#[0-9A-Fa-f]{6}\"?")
                {
                 $th .= " " . $1 if ($th_str =~ /($th_attr)/is);
         }
 
       $th .= ">"; s/<th(.*?)>(.*?)<\/th>/\L$th\E$2<\/th>/is;
       }
   
       while (my ($tr_str) = /<tr(.{0,36}?)>.*?<\/tr>/gis) {
       my $tr_attr; my $tr = "<tr";

         foreach $tr_attr ("align\=\"?(:?left|center|right)\"?","valign\=\"?(:?top|middle|bottom|baseline)\"?")
                {
                 $tr .= " " . $1 if ($tr_str =~ /($tr_attr)/is);
         }
 
       $tr .= ">"; s/<tr(.*?)>(.*?)<\/tr>/\L$tr\E$2<\/tr>/is;
       }
  }

ENDCODE

Okay, this is the ?final? version. All tables are limited to 99 cells per table. Table widths cannot exceed 100% (which is a neat feature, if I do say so myself), and table cells cannot exceed 200 pixels. I limited it to basically render ?good? in 800x600- you can still make an ugly table, but not as bad as you could without these things added.


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#13 2002-12-05 08:20:38

Adrian
Moderator
From: London, United Kingdom
Registered: 2001-09-04
Posts: 642
Website

Re: New Mars Wiki now online

Hi Josh, I don't think I'll be able to implement that until I get back from Utah although I'll be sure to add it to the wiki when I do.


Editor of [url=http://www.newmars.com]New Mars[/url]

Offline

Like button can go here

#14 2002-12-05 10:21:56

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

Hmm, thanks for letting me know. smile


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#15 2003-01-07 17:32:00

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

Bump. tongue


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#16 2003-01-07 17:37:43

Palomar
Member
From: USA
Registered: 2002-05-30
Posts: 9,734

Re: New Mars Wiki now online

Bump. tongue

*Grind.

Wanna dance, Josh?  smile

--Cindy


We all know [i]those[/i] Venusians: Doing their hair in shock waves, smoking electrical coronas, wearing Van Allen belts and resting their tiny elbows on a Geiger counter...

--John Sladek (The New Apocrypha)

Offline

Like button can go here

#17 2003-01-07 17:42:50

Adrian
Moderator
From: London, United Kingdom
Registered: 2001-09-04
Posts: 642
Website

Re: New Mars Wiki now online

Okay, okay, I'll get it done when I get back to Cambridge on Saturday, and thus get back my nice fast Internet connection (I'm on a shared dialup at the moment sad ). Right now I'm trying to sort out some urgent and worrying billing issues for New Mars' web hosting... there is a small but present possibility that we might get shut down because there's a problem with a bill from a couple of months back. Bleh.


Editor of [url=http://www.newmars.com]New Mars[/url]

Offline

Like button can go here

#18 2003-01-07 18:54:28

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

*Grind.

Wanna dance, Josh?  smile

Ooooh. Kinky! Dunno what my galfriend would say abought that though! big_smile

::dances::

Okay, okay, I'll get it done when I get back to Cambridge on Saturday

Hehehe, that's great. By then I'll have fixed one minor thing I don't like about how it renders. smile

I don't mean to pressure you, though. I haven't been playing with the Wiki as much as I would have liked to. I'm going to update some more tonight, I just think my narration ablities are lacking. And I feel I'm not doing a good enough service with my additions to the Wiki...

For those who wanna see all the pages, though, click on this. smile


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#19 2003-01-08 13:08:26

Josh Cryer
Moderator
Registered: 2001-09-29
Posts: 3,831

Re: New Mars Wiki now online

Okay I updated it. smile


Some useful links while MER are active. [url=http://marsrovers.jpl.nasa.gov/home/index.html]Offical site[/url] [url=http://www.nasa.gov/multimedia/nasatv/MM_NTV_Web.html]NASA TV[/url] [url=http://www.jpl.nasa.gov/mer2004/]JPL MER2004[/url] [url=http://www.spaceflightnow.com/mars/mera/statustextonly.html]Text feed[/url]
--------
The amount of solar radiation reaching the surface of the earth totals some 3.9 million exajoules a year.

Offline

Like button can go here

#20 2005-06-04 12:27:59

Arobie
InActive
From: Slidell, LA
Registered: 2005-06-04
Posts: 1

Re: New Mars Wiki now online

I quess this is a wierd first post, resurrecting a 2 year old thread...

Adrian, nice Wiki. I like it.

Do you mind me asking what engine you are using? Also, what other wiki's do you run, I would like to check them out too.

Offline

Like button can go here

#21 2017-09-03 11:44:10

jburk
Executive Director
From: Seattle, WA
Registered: 2011-11-17
Posts: 155
Website

Re: New Mars Wiki now online

For historical purposes and as part of modernizing & building out Marspedia.org:

I have restored the New Mars Wiki! - wiki.newmars.com

Right now, creating new user accounts are turned off to prevent spam, but let me know if you want me to set one up for you.

Enjoy!


James L. Burk
Executive Director, The Mars Society
jburk@marssociety.org
+1 (206) 601-7143

Offline

Like button can go here

#22 2017-09-03 15:32:39

SpaceNut
Administrator
From: New Hampshire
Registered: 2004-07-22
Posts: 29,438

Re: New Mars Wiki now online

Time to fix another topic for shifting and conversion artifacts....

Those were was quick to fix....

Nice very nice to have the best of both worlds coming back online for the collective data compiled in our discussions to be made use of for the purpose of planning and going to mars one day.

Last edited by SpaceNut (2017-09-03 15:37:51)

Offline

Like button can go here

#23 2021-05-01 16:30:38

SpaceNut
Administrator
From: New Hampshire
Registered: 2004-07-22
Posts: 29,438

Re: New Mars Wiki now online

The other wiki topic...

sure wished that I could merge topics but thats not a function we have in this software...

Offline

Like button can go here

#24 2023-01-14 10:59:01

SpaceNut
Administrator
From: New Hampshire
Registered: 2004-07-22
Posts: 29,438

Re: New Mars Wiki now online

I found that we have not updated how we would use topics as discussion and a companion for a different form of wiki that the creator of them would control for this purpose.

Offline

Like button can go here

Board footer

Powered by FluxBB