11.10.06
Posted in Blogs, programming, technical at 1:26 pm by spryken
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/wpg2/wpg2embed.inc on line
1229
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/wpg2/wpg2embed.inc on line
1245
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/stats/stats.php on line
371
As I was trying to include the code snippet for my hack to automatically generate WML from a WordPress blog, I found out that even with the code plugins, the Rich Editor provided by WordPress strips the newlines from -pre- tags.
I had to edit the post in Preformancing, an extension for FireFox. That or revert to the standard editor.
I must say, that I have been extremely pleased with Preformancing. It is browser based and open a “pane” below the browser tabs. That way I can reference the page I am quoting or blogging about without having to switch windows. Very handy.
Technorati Tags: WordPress, Blogging
powered by performancing firefox
Permalink
1,750 views
Posted in Blogs, BoyScouts, programming, technical at 1:19 pm by spryken
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/wpg2/wpg2embed.inc on line
1229
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/wpg2/wpg2embed.inc on line
1245
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/stats/stats.php on line
371
I have implemented my WordPress hack for WAP enabling WordPress blogs on A Scout’s Campfire. I will continue to monitor and update the WAP capality as I discover issues or improved plugins.
Technorati Tags: Blogging, WordPress, WAP
powered by performancing firefox
Permalink
1,467 views
11.09.06
Posted in Blogs, programming, technical at 7:42 am by spryken
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/wpg2/wpg2embed.inc on line
1229
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/wpg2/wpg2embed.inc on line
1245
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/stats/stats.php on line
371
Well, I finally was able to hook up with Bob Porter to do some testing…… I cannot say I was pleased with the results. The very same redirect codes that work in a stand alone script were not working. The only difference was the “IF” statement to determine if the browser was WAP enabled.
After a day of email communication, we finally got together via phone. Then it was about a 1/2 an hour before I had the AHA moment.
We have successfully tested the automatic discovery of WAP enabled devices!! At least for Windows CE based devices. So, I am declaring success.
If you have some other WAP device, please test it here and let me know the results.
Here is the index.php that I created to replace the one provided by WordPress… If you use it, you will have to modify the location you redirect to.
<?
$pos = stripos($HTTP_ACCEPT, "VND.WAP.WML");
if ($pos === false)
{
$pos = stripos($HTTP_USER_AGENT, "WINDOWS CE");
if ($pos === false)
{
define('WP_USE_THEMES', true);
require('./wp-blog-header.php');
exit(0);
}
else
{
header( "HTTP/1.1 301 Moved Permanently" );
header( "Status: 301 Moved Permanently" );
header( "Location: http://www.spryken.com/blog/wp-wap.php" );
exit(0); // This is Optional but suggested, to avoid any accidental output
}
}
else {
header( "HTTP/1.1 301 Moved Permanently" );
header( "Status: 301 Moved Permanently" );
header( "Location: http://www.spryken.com/blog/wp-wap.php" );
exit(0); // This is Optional but suggested, to avoid any accidental output
}
?>
Technorati Tags: wordpress, wap, blogs, programming, php
powered by performancing firefox
Permalink
2,605 views
10.17.06
Posted in Blogs, technical at 10:43 am by spryken
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/wpg2/wpg2embed.inc on line
1229
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/wpg2/wpg2embed.inc on line
1245
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/stats/stats.php on line
371
This is a test of Google Docs and its publishing capability. This is just a test. Using Google Docs as a publishing tool for my blog.
Results? Not real impressed right now. Title did not transfer and it did not pick up the tags to use as categories. I will continue to test, but I don’t believe it will replace the built in editor from WordPress, or wBlogger
Permalink
614 views
04.19.06
Posted in Blogs, programming, technical at 1:31 pm by spryken
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/wpg2/wpg2embed.inc on line
1229
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/wpg2/wpg2embed.inc on line
1245
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
/home/spryken/www/www/blog/wp-content/plugins/stats/stats.php on line
371
I have completed updating my WordPress installation to version 2.0.2 and adding the Widgets plugin. That necessitated my upgrading my theme. In the process, I experimented with serveral other widget-enabled themes, but came back to Ocadia. It appears to work the best in both IE and FireFox, and to handle the most widgets.
As always, let me know if you see any strange behavior.
Permalink
536 views
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/spryken/www/www/blog/wp-includes/kses.php on line 1002
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/spryken/www/www/blog/wp-includes/kses.php on line 1003
« Previous entries
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/spryken/www/www/blog/wp-includes/kses.php on line 1002
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/spryken/www/www/blog/wp-includes/kses.php on line 1003
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/spryken/www/www/blog/wp-includes/kses.php on line 1002
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/spryken/www/www/blog/wp-includes/kses.php on line 1003