Tutorials/Deleting Strips

From CGWiki
Jump to: navigation, search

Important! Comic Genesis has updated and is now running AutoGenesis - The tutorials and instructions included here on the CGWiki may not be accurate and will need updating. For more information, read this entire thread starting from this post.

Do you:

  • Want to get rid of an unwanted strip from your comic?
  • Want to eliminate the sample from when you registered?
  • Want to fix a typo or small mistake in one of your strips?
  • Want to rearrange the order of some strips?

Then this tutorial is for you!

Deleting a Strip

In order to totally remove a strip from your archive (except the latest which is on the index) you need to remove both the image and the html code. In order to do this you need to be able to access your comic account through an ftp program. This tutorial assumes that you know how to use your ftp software.

  1. Determine which strips you want to remove. For this example, we'll use the 2006 Christmas Strip (20061225.jpg).
  2. Access your account so that you can see the files in your public_html folder.
  3. Go to the public_html/comic folder and delete the file 20061225.jpg (and any others you don't want).
  4. Go to the public_html/d folder and delete the file 20061225.html (the html files with the same date).
  5. Go to the siteadmin page and trigger a regular update if the deleted strips are recent or a full update if the deleted strips are more than two weeks old.

The reson for triggering an update is that if you don't the pages on either side of the missing comics will point into the empty gap and your readers will get a 404 error. After the update, check to make sure that the pages on either side point to each other instead of at the hole.

Deleting the Latest Strip

If you want to change / don't like the image that is your most current comic then the procedure is slightly different.

  1. Access your account so that you can see the files in your public_html folder.
  2. Go to the public_html/comic folder and delete the image.
  3. Go to the siteadmin page and trigger an index update. This will cause the server to replace the current comic. No other html pages need to be changed since the second-latest page will still point to the index.

You don't need to delete anything from the public_html/d folder since the index sits directly in the public_html folder and the update will rebuild it anyway.

Replacing a strip

In order to replace a strip, it'll fall into two categories:

Replacing a strip with the same strip, modified

If you only need to make a small change (fix a typo, correct the color, etc) and basically want to replace the existing strip with the same strip (so long as it's the same size - height + width) then all you need to do is delete the original strip from the public_html/comics folder and upload the new comic image to the public_html/comics folder. You don't need to put it in the workspace folder or run an update as the html code for that day will look for the image in the same place. Since it has the same name and is the same size, it'll fit straight in.

The only problem would be for readers who have already seen the deleted version as their computer would most likely continue to display the unwanted version. The solution is to simply refresh their browser and they'll get the new version from the server.

Replacing a strip with a totally different image

On the other hand, if you want to replace a strip with something totally different ("totally different" is an image that is not the same width + height, even one pixel difference counts as different).

However, this is quite easy. Simply follow steps 1 to 4 in "Deleting a Strip" above, then upload the new image(s) to the workspace/comics folder.

Once the files are uploaded, then do step 5 and trigger the update.

Rearranging the order of strips

If you've accidentally added strips in the wrong order (or given them the wrong date in their name) and want to put them into the right order, it's basically the same as the replace step above.

  1. Determine which strips you want to move.
  2. Access your account so that you can see the files in your public_html folder.
  3. Go to the public_html/comic folder and delete the incorrectly placed files.
  4. Go to the public_html/d folder and delete the appropriate files (the html files with the same name as the files deleted in step 3).
  5. Upload the 'new' files (with the correct names) to the workspace/comics folder.
  6. Go to the siteadmin page and trigger a regular update if the deleted strips are recent or a full update if the deleted strips are more than two weeks old.

Return to the Tutorials page