Website Toolbox Pro

Meta Tag Help?

Meta Tags Comments »
I have a blog on Blogger (the Google one) and I recently submitted my blog’s feed to Yahoo Site Explorer. They asked for verification with the choice of meta tag or application. The thing is I tried to insert the meta tag and it goes like:

<META name="y_key" content="104306771tee6v4n" >

I put it where they asked it to be inserted but when I save it, it always says "Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type "META" must be terminated by the matching end-tag. "

And the other choice of application I really don’t know how to do.
Could you tell me what’s wrong with that stupid meta tag and how to upload the file?

Continue reading Meta Tag Help? »

How To Read My Local Directory Using VBscript Or Javascript

Javascript Comments »
I want to read my local directory My Pics on my PC using VBscript or Javascript, then display the pics randomly in my local browser window, e.g. IE6. I will not be connecting to a host server nor am I running IIS.

Any ideas?

Continue reading How To Read My Local Directory Using VBscript Or Javascript »

What Does “Javascript”, “Dreamweaver”, “CSS” Mean And How Does It All Fit Together?

Javascript, Miscellaneous, PHP / MySQL Comments »
I’m new to this whole thing, I need to know for journalism class please!

How does HTML, CSS, Python, Dreamweaver, InDesign, PHP…. what do these things have to do with websites?

Continue reading What Does “Javascript”, “Dreamweaver”, “CSS” Mean And How Does It All Fit Together? »

What Is The Best Program To Reduce The Size Of A JavaScript File?

Javascript Comments »
I have a menu on my website that is composed of JavaScript. What is the best program or method to make this as small of a file as possible?
I want it as small a file as possible but still displayed online, i.e I want a fully functioning menu that doesn’t make my webpage have a ridiculously large filesize.
Javascript Compressor is one of many free online tools to reduce the size of a JavaScript file.

Curved Gradient In Adobe Illustrator

Design Comments »
Not the circular gradient. I’m trying to make a curved line or shape with the gradient dark at line and gets lighter as it goes away from the line. Line is "s" shaped. Does this make sense? Is it possible?

Continue reading Curved Gradient In Adobe Illustrator »

What’s The Regex For The Following? (PHP)?

PHP / MySQL, Regular Expressions Comments »
I want to do a preg_split to get all the subnodes of the following in an array. I want to match everything between the <Subscriber> tags, but note that the first has XMLNS.

<Subscriber xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <EmailAddress>inetmjr@gmail.com</EmailAddress>
    <Name>MJR</Name>
    <Date>2008-04-11 15:00:00</Date>
    <State>Active</State>
    <CustomFields />
  </Subscriber>
  <Subscriber>
    <EmailAddress>mreeves@gmail.com</EmailAddress>
    <Name>Mark Reeves</Name>
    <Date>2008-04-11 14:37:00</Date>
    <State>Active</State>
    <CustomFields />
  </Subscriber>

What’s the regex to use with preg_split to get <Email> through <CustomFields/> into array nodes?

Thanks!
Mark

Continue reading What’s The Regex For The Following? (PHP)? »

Javascript: Using A String As A Variable

Javascript Comments »
I have a function that I send a javascript array to like so:

if (VAR_clicked == "one") {
    FUN_Table(VAR_array_one);
} else if (VAR_clicked == "two") {
    FUN_Table(VAR_array_two);
} else if (VAR_clicked =="etc") {
    FUN_Table(VAR_array_etc);
}

My problem now is I have many more arrays and want to do something like this:

FUN_Table("VAR_array_" + VAR_clicked);

I’m trying to use a string to pass a variable to the function, this does not work.
Any ideas as to how I can do this?

Continue reading Javascript: Using A String As A Variable »

Mod_rewrite Configuration

Htaccess, Mod_Rewrite Comments »
I have the following problem, I have this standard mod_rewrite configuration for TextPattern use.

<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule>

This helps rewrite folders such as:
http://www.website.com/products/
into a index.php TXP compatible URL.

However, I have one real physical directory called http://www.website.com/choristes/ that I don’t want to be rewritten by the RewriteRule.

Could you tell me how I can configure my htaccess to achieve this specific behaviour?

Thanks a lot!

Continue reading Mod_rewrite Configuration »

Wordpress Integration Questions?

Mod_Rewrite, SEO Comments »
I contacted my webhost to find out on whether I can run Wordpress?

I’m an absolute beginner. I want to be able to keep my site fresh and up to date with articles and images. And I’m assuming Wordpress can get the job done. The thing is my site was developed using xhtml and css. How can I integrate Wordpress for this site?

My site is hosted under Windows Platform. It support PHP, MySQL but do not support for mod_rewrite Apache module. I’ve been told by my host that I might need to transfer to Linux Platform.

Now what do I do? What is this mod_rewrite Apache module. What does it do? And what is my next plan? Do I move to a Linux platform as advised or can I still use Wordpress with the Windows platform?

Continue reading Wordpress Integration Questions? »

How Search Engines Work (Please Look Inside)?

Meta Tags, SEO Comments »
A few questions.

1. How do seach engines find things about what a website is about besides useing the <meta> tag?

2. How can you get the top result on a search engine if your basic thing is put in. (Ex. Landmark Missionary Baptist Church, right now the (just about) only way to find out site is to type in a nearby location)

3. Is the only way that search engines find things are by robots and by people submitting URLs?

4. How does your URL affect the search results?

5. How much does it cost to pay search engines to be the first results?

6. Is there a simple way to submit your site to a whole bunch of search engines at once?

7. Is there any other ways besides the <meta> tag to add tags to your result?

If you want to add more, feel free!

Continue reading How Search Engines Work (Please Look Inside)? »