CSS Naked Day
Wordpressplugin.org 2008
- Version: 1.1.2
- Other Versions
- Last Updated: 2007-10-17
- Requires WordPress Version: 2.1 or higher
- Compatible up to: 2.1.3
- Author Homepage
- Plugin Homepage ;
- Donate to this plugin
- X(HT)ML stylesheet directives:
<?xml-stylesheet … ?> - (X)HTML stylesheet references:
<link rel="stylesheet" … />or<link rel='stylesheet' … /> - (X)HTML embedded stylesheets:
<style> … </style> - (X)HTML inline stylesheets:
style="…"orstyle='…' - Upload
css-naked-day.phpto the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Select configuration options in the Options » CSS Naked Day page.
- Wait until the 5th of April for the Plugin to strip your site naked.
- Upload
css-naked-day.phpto the/wp-content/plugins/directory replacing the old file. - Activate the plugin through the ‘Plugins’ menu in WordPress if you haven’t already.
- Wait until the 5th of April for the Plugin to strip your site naked.
- Deactivate the outdated plugin.
- Delete the old plugin file from the
/wp-content/plugins/directory. - Upload the new version of the plugin.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Select configuration options in the Options » CSS Naked Day page.
- Wait until the 5th of April for the Plugin to strip your site naked.
- This plugin removes all CSS stylesheets from the page before it sends the data to the viewers’ browsers.
- It doesn’t use client-side scripting to remove styles, which may be turned off or unsupported in other browsers,
so everyone would see your page in its natural, naked form. - It doesn’t require the user to edit his/her theme files.
Author: Aja Lorenzo Lapus
The idea behind CSS Naked Day is to promote Web Standards. Plain and simple.
This includes proper use of (X)HTML, semantic markup, a good hierarchy structure, and; well, a fun play on words.
I mean, who doesn’t want to get naked? —Dustin Diaz, Founder of CSS Naked Day
This CSS Naked Day plugin automatically strips off the following code from your site
without you having to edit your themes:
Since version 1.1, you have an option to activate it during the recommended worldwide 48-hour CSS Naked Day period,
or just the local 24-hour period.
For more information about the event, visit: The Official CSS Naked Day Page.
First Time Installation
Step 3 is optional.
Upgrading to the latest bug fix
(versions 1.1/1.1.1 to 1.1.2)
Upgrading 1.0.x to 1.1.x
If you already have installed CSS Naked Day plugin with version prior to 1.1, follow the steps below.
Steps 1 and 2 ensures the new plugin has been activated with options. Step 5 is optional.
What differences does this plugin have compared to other CSS Naked Day plugins?
How could I display a message only on the 5th of April telling why my site is naked?
Use the is_naked_day() function inside an if () block. is_naked_day() returns true when it is April 5,
otherwise it returns false.
Example:
<?php if (is_naked_day()) { ?> Message why my site is naked. <?php } ?>
No screenshots available for this plugin
Known Issues
Unresolved
The plugin would also delete occurences of inline styles (style="") that are intended as text and not as the
attribute for styling markup itself. For example, in CSS tutorial pages.
Resolved in version 1.1.2
In versions prior to 1.1.2, the plugin would cause errors for some inline styles that have escaped quotation marks of
the same type as the attribute value delimiter.
For example:
style=”font-family:\”Lucida Grande\”,\”Lucida Sans Unicode\”,sans-serif;”
… would leave …
Lucida Grande\”,\”Lucida Sans Unicode\”,sans-serif;”
… in the markup, as the regular expression could only remove code from the style attribute only up to the first
matching quotation mark without regard to the escaped ones.
Copyright © 2007
Dieser Feed ist nur für den persönlichen, nicht gewerblichen Gebrauch bestimmt.
Eine Verwendung dieses Feeds auf anderen Webseiten verstößt gegen das Urheberrecht. Wenn Sie diesen Inhalt nicht in Ihrem News-Reader lesen, so macht sich die Seite, die Sie betrachten, der Urheberrechtsverletzung schuldig. (digitalfingerprint: )
© admin for wordpress plugin, 2008. |
Permalink |
No comment
Add to del.icio.us
Search blogs linking this post with Technorati
Want more on these topics ? Browse the archive of posts filed under Formatting.
