WolfKeen

From CGWiki

Jump to: navigation, search

WolfKeen is a complete rewrite of AutoKeen done by admin Kelly. He got frustrated over how bad it was trying to debug AutoKeen that he ripped his copy of the code to shreads and started writing his own version.

WolfKeen is "downwards compatible" with AutoKeen, but given a few new settings for each comic, it will make everyone's comic howl. Most tags used with AutoKeen work the same way with WolfKeen.

Kelly will be updating this page as he works on WolfKeen and gets it out of beta. It will then be called AutoGenesis.

Contents

Differences from AutoKeen

New home directories: WolfKeen will have a new file (.lastupdate) and a new directory (premium_temp). DO NOT REMOVE THEM. WolfKeen will slow down immensely if you remove them.

New location for PREMIUM weekly archive template: Instead of /workspace/premium/template.html, it is now /workspace/weeklytemplate.html

Operation:

  • WolfKeen, once evoked on a comic, will retreive all the SQL data needed to process the comic. If it determines that the data is from the old AutoKeen format, it will massage it into WolfKeen format.
  • WolfKeen will then switch it's internal "current directory" to the comic's root. This is done to save time looking up file names, and eliminate using /public_html/workspace.
  • WolfKeen then looks for comics in /workspace/comics that need to be moved into /public_html/comics, and moves them over. If a comic's date hasn't come yet, it doesn't get moved.
  • WolfKeen will then update roughly every comic, with some exceptions:
    • If the comic being updated doesn't have a calendar tag, only the last few comics before the date are updated
    • If it does, then the last two months are updated.
  • WolfKeen then updates the main index.html page, followed by the pages listed in /workspace/webpages.
  • After that, the PREMIUM directories are updated, including the weekly archives.
  • And finally, the RSS feed is properly rewritten.

Status and bugs

  • WolfKeen is now back on Sandy.
  • Pack Launcher written
  • Request Update utility written

Needed to be done

  • Initial testing on Kelly's Stalag '99
  • Testing by third parties.

Bugs encountered

  • Latest in weeklies and _arc tags won't update throught archives. Fix: use a updated latest.html file w/meta-refresh for a second.
  • Check RSS generator to make sure it doesn't trigger if there wasn't an update to the comics.
  • Check to see we're not caching too much nontemplate stuff.

For futher updates, see RedWolf's Todo List

Trivia

  • At one time, WolfKeen was [mis]named "Wolf 357", supposedly named after a star relatively close to the sun, and the setting of the episode of Star Trek: The Next Generation, "The Best of Both Worlds".
- The actual name is Wolf 359. ZING!!!! --Toxic 21:27, 21 Sep 2005 (PDT)
- A Wolf .357 is an infamously keen model of handgun.
  • Some say this is just another step into the anthropomorphization of Comic Genesis.
  • Another (likely) explanation is that Kelly (STrRedWolf) named it after himself.
- You betcha booty it was! STrRedWolf

Tag changes

These didn't make the cut

  • ***monday***
  • ***daily_archive***
  • ***set_yesterday*** -This tag is dangerous to use and has been disabled in AutoKeen
  • ***set_today*** -This tag is also dangerous and is disabled.
  • ***advertisement_size*** (where size is jumbo, large, medium, or small)

"Living on the edge"

  • ***last3/5/7*** -- Gives the last three/five/seven comics. More likely a promo for KeenSpot Premium service.

These do a different job

  • ***next/last_day_arc*** -- These tags will be like their regular cousins, but will not point to the front index page when you hit the latest comic. They will stay in the archive area.
  • ***year_calendar/_csscalendar*** -- Put in a year (ex: 2005) for year, and it'll give you a yearly list of that webcomic. The difference is that 2006 won't require adding a 2006_calendar tag -- it's already taken care of.
  • ***include file*** -- This tag will act more like the C programming language's #include preprocessor directive statement. If this tag exists in a file, WolfKeen will load file from /workspace/webpages (instead of /public_html) and insert it in place of the tag before processing any other tags that are in here. WolfKeen will check for ***include tags first before any other tags. This tag is considered a preprocessing tag.

Proposed for inclusion

These tags have not been implemented yet.

  • ***next/previous_storyline*** -- Navigate to the begining of each storyline as defined in the storyline dropdown.
  • ***linkbar*** -- Put in between the <head></head> tags, will generate <link> tags to exploit Mozilla/Firefox's built-in Site Navigation Bar in the archives. Best put in your dailytemplate.html

Brand Spankin' new

These tags are implemented.

  • ***todays_notes*** -- You may now seperate your daily newsblog or comic's footnotes from your webcomic.

H.O.W.L.

Some people are asking for a more programic approach to their webcomics. Since AutoKeen and WolfKeen "compile" pages (like a C or Java compiler), introducing a small programming language that's eazy to use can be effective. Thus, I will call this feature HTML Obfuscating Webpages Language (or HOWL).

The base language is currently in question, so HOWL isn't availible at this time.

Personal tools