News:

The anti-spam plugins have stopped being effective. Registration is back to requiring approval. After registering, you must ALSO email me with your username, so that I can manually approve your account.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - fesworks

#241
Quote from: Databits on September 15, 2008, 05:46:50 PM
It's as easy as pie.

perl -p -i -e 's/target/replacement/g' $(find -name '*.htm')

The difference being that this just modifies the files directly, rather than making a copy. You should probably look into "regular expressions" as well, since you'll be using them in any sort of mass replacement on Linux (even in Xepher's version).

Where do I edit this to call the directory the files are in?

Also, I've been working with Xepher's... doesn;t seem to work. I assume I open up the "console" on WinSCP, and enter it in. Well, since the files are HTM, I adjusted accordingly.

Also, I want to replace <a href="index.php">
to
<a href="http://fesandernst.com">

But going through a bunch of backwards slashes before every non-character, it didn't work. So I decided just to change the "php" to "html", So I could so the same, and change them back to "php" later, when I change the index page back... so:

find /home/fesworks/public_html/PSI/crappy/ -iname "*.htm" -exec sed -i 's/php/html/g' {} ;

Didn't even work. Ran into a syntax error and quit. :/


Also, I guess, I was hoping that I could have done something that could find and replace an entire blocking of code in multiple files, but it does not look like this code is capable of doing that.

I'm gonna try the Dreamweaver thing next.
#242
Quote from: griever on September 14, 2008, 04:07:30 AMBlah, Blah, Blah, Yackity, Smackity.

I'll be sure to give this a try! Thanks!
#243
Quote from: Xepher on September 15, 2008, 02:59:48 AM
Well, if dreamweaver made you go comatose, then my suggestion is gonna really break your brain...

find /home/fesworks/COPY_html/ -iname "*.php" -exec sed -i 's/ugly/beautiful/g' {} ;

Where the path is the folder you want to start with, "*.php" is the type of files, "ugly" is the old string and "beautiful" is the new one. That is to say, the above example will find all php files in /home/fesworks/COPY_html and replace all occurences of the four-letter string "ugly" with "beautiful". Be careful if you have stuff involving slashes to be replaced though, and as noted above, test and try on COPYS, not the real files... at least until you have the command right, then it can be quite handy to just edit them all in place.



Is this a BATCH command? Where would I run this code? Looks like you intend it to run on the server.

I'm guessing for slashes and "<" and the like, I'll have to use HTML code such as "%20" for a " " (space), etc... right? (I only know that %20 is a space, but I know I can easily find a list online somewhere)
#244
Technical Support / Re: Why not another news box question!
September 13, 2008, 06:05:16 PM
Quote from: Senshuu on September 13, 2008, 05:20:52 PM
Quote from: fesworks on September 13, 2008, 04:22:49 PM
You can always put it in a table or a table's cell where the contents is centered. I know that works.


It's already like that.

Yes, I'll try that other method soon... as soon as I figure out where I can relocate the box to.

You don't have the contents centered (different from text paragraph being centered)... within the "td" tag you should have align="center"
#245
is it... easy to find and figure out how to do that? I've opened Dreamweaver like once, then I came to after being comatose for an indeterminable amount of time, and in a pool of my own drool... then I closed it....
#246
Xepher, I think you told me about it before, but I don't remember.

I have a couple hundred pages I'd like to change just little things in. They have the same coding asside from specific images (comics) and the navigation links.
#247
Technical Support / Re: Why not another news box question!
September 13, 2008, 04:22:49 PM
You can always put it in a table or a table's cell where the contents is centered. I know that works.

A table on such a small page should not have to worry about loading too much. Though I know too many tables with a lot of info can cause slow loading.
#248
Not sure where to properly post this... or how to find such comics... but we've been trying to find webcomics that are "stalled" for whatever reason. People not sure how to progress their comic, but just don't know what to do.

The Webcomic Beacon tries to find people that are stuck, but want to continue. We want to try to do 20 minute Brainstorm Sessions with those interested. For fun and for motivation.

I'm posting here to ask if anyone here, or if anyone knows of someone that may be interested. Of course, we aren't professionals in the least, but sometimes all one needs is to brainstorm and a push.
#249
Knowhow Trading Post / Re: Webcomic Software Solutions
September 10, 2008, 03:05:50 AM
All I ever wanted was something that would take a base HTML, and I'd get an automated page for each image, including the navigation working correctly... like how ComicGenesis does it, only not as complex with all of this and that. and I don't even need it done on the server.

Oh, something to allow comments and individual author notes below the comic as well... like Drunk Duck.

I suppose I should look into ComicPress, but damn, that's WAY more than I wanted to look into... too me a long time of trial and error to figure out what did WHAT with WordPress and The Webcomic Beacon.

It would make redoing pages a lot easier. Xepher keeps telling me that there is a program that could go through a edit out and in stuff to each subsequent file, but I forgot.

I guess, all I am saying is that I wish there was simple and minimal with allowing individual text to exist on each comic page. I know there is PHP stuff, but for practically every comic I have, there is text or links below the comic.

I suppose I should sit and learn ComicPress, however, I'd need to go through the script of all of my archived pages (and others) to NOT point to the "index.php" so I could actually play with ComicPress without essentially shutting the site down.... unless I redirect the domain to go to a name with an index.html ... and divert the ComicPress to use the base XEPHER name with the index.php

Ok, I'm just babbling now... enough derailing.
#250
Technical Support / Re: Problems installing oekaki board.
September 08, 2008, 05:45:40 PM
Database name and Database user name should be the same "jinxville"

"superhappy-funtimes" was just for the example.
#251
Technical Support / Re: Problems installing oekaki board.
September 08, 2008, 03:10:35 PM
Yea, I had to do the same thing when I tried to install the "Gallery" image gallery program. :P
#252
Quote from: sagebrush on August 31, 2008, 04:17:43 AM
Ow... burn...

Not really ;) I believe that some of the issue for the outage was The Podcast. Even though it was not a huge podcast, it still was the biggest drain on resources/bandwidth last I checked. Towards the end, I started to suspect constant 60+ minute MP3 downloads were sapping the data center's... whatever it is... for Xepher's server. It's seemed to not do that any more since the show hasn't been here all August.
#253
Quote from: Xepher on August 29, 2008, 04:59:37 PM
Yeah, go for it if you want to. Kinda advertises xepher.net itself as well.

Well, yea :P

I kinda wished we stayed here (the Beacon), but I notice that since we left, I had not noticed the server not working at in convenient times.... Coincidence ? ;)
#254
Art / Re: Favorite Inking Pens
August 29, 2008, 02:48:18 AM
I'm going to read all of this later, but I wanted to chime in quick and say I used the ZIG Millenium pens.... however, I use them on Trace paper. I found that they really suck on paper... or at least on Xerox paper... they cheap stuff you buy in 200 page reams?

I draw on paper and use trace paper.

http://fesandernst.com/sketch_incentive.jpg

http://fesandernst.com/ink_incentive.jpg

These links change with each comic update, but basically you can see the pencils and then the resulting Inkings (trace paper). I almost always have to clean up a whole lot in Photoshop (connecting or thickening some lines because the scan was too bright or such..... also, fixing little "oops" where I messed up a pen stroke).

I tried a tablet, but I just could not get the hang of it... seemed to take forever to trace a sketch scan, and free-hand? forget it :P maybe I need more practice.... but I kinda would like a pen that works well on paper.

Again, I'll read the rest of this thread soon.

#255
Quote from: sagebrush on August 29, 2008, 01:42:16 AM
Checked out your friend's site.  It feels... weird...  the longer one is into comics, the smaller the world gets (the more you keep seeing the same comics/artists mentioned, the more you say "hey I know that guy/gal," the more you say, "hey, I wonder if they know so-and-so who's in the same state...).

My writer (for Lawn Darts) lives in Minnesota.  Josh Lesnick (Girly) lives near me, I think, or at least he's got close ties to Radio Comix, and they're here.  I'm friends with the editor.

Abby of The Green Avenger is apparently in Minnesota. Also Glych of http://panel2panel.com/ is in Minnesota...

I'm gonna go to Fallcon this year. Hopefully I'll meet a few other Minnesota webcomickers there.