Site Reviews
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignSite Reviews

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 20th, 2009, 10:43 PM
icywave icywave is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Sep 2005
Location: Global Village
Posts: 719 icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 5 Days 4 h 15 m 41 sec
Reputation Power: 52
Send a message via MSN to icywave
Www.30r2-3.com

Please rate. =)

Here.
__________________
Why Captcha Images Are EVIL!


For more interesting reads, visit 3Or2-3.

Last edited by icywave : March 21st, 2009 at 08:56 PM.

Reply With Quote
  #2  
Old March 21st, 2009, 12:50 AM
Nilpo's Avatar
Nilpo Nilpo is offline
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2006
Location: Salem, OH
Posts: 1,877 Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)  Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Week 2 Days 8 h 39 m 25 sec
Reputation Power: 967
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
Bad link.
Comments on this post
icywave agrees!
__________________
Don't like me? Click it.

Scripting problems? Windows questions? Ask the Windows Guru!

Stay up to date with all of my latest content. Follow me on Twitter!

Help us help you! Post your exact error message with these easy tips!

Reply With Quote
  #3  
Old March 21st, 2009, 08:56 PM
icywave icywave is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Sep 2005
Location: Global Village
Posts: 719 icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 5 Days 4 h 15 m 41 sec
Reputation Power: 52
Send a message via MSN to icywave
Thanks nilpo for pointing that out. I updated the link. =D

I appreciate your help.

Reply With Quote
  #4  
Old March 21st, 2009, 09:46 PM
Nilpo's Avatar
Nilpo Nilpo is offline
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2006
Location: Salem, OH
Posts: 1,877 Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)  Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Week 2 Days 8 h 39 m 25 sec
Reputation Power: 967
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
The overall look and feel of the site is good. Nice layout, etc. and the site is rendering in standards-compliance mode which is always a plus.

However, your HTML, CSS, and site feed do not validate. The interpreted feed location doesn't point to a site feed at all. (This can be fixed with a LINK tag in your page header.)

You're site also doesn't conform to accessibility standards, if that's something you're concerned with.

From an SEO standpoint, the HTML code has been slimmed down quite nicely so the site should index fairly well, but you could use some work on semantics. Menus should be unordered lists rather than DIVs, etc.

Content comes before sidebars which is also good design practice.

All-in-all, the site is coming along nicely and has a lot of potential. Load time is iffy, but is still within an acceptable range. You might have to watch that as the number of entries increases. It's most likely due to the large number of images that load on the first page.

It's obvious that you've put some time into the design, but it can still use a little work, IMO. As is, the site displays a better design than most, but I wouldn't consider it finished if it were me.

If you need help fixing any of the things I've pointed out, feel free to ask away.

Hope this helps. Good luck!
Comments on this post
icywave agrees: Thank you

Reply With Quote
  #5  
Old March 22nd, 2009, 02:53 AM
icywave icywave is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Sep 2005
Location: Global Village
Posts: 719 icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 5 Days 4 h 15 m 41 sec
Reputation Power: 52
Send a message via MSN to icywave
Thank you nilpo,

Yes I'd like to make all of the changes that you have mentioned above.
Please give further instructions.

- For feeds, what do you mean by a link tag?
- What do you mean by accessibility standards?
- I will change the div tags to unordered lists. I will google that.
- I will upgrade my hosting plan when there's more traffic.
- How would I improve my design?

Thank you again.
Michael

Reply With Quote
  #6  
Old March 22nd, 2009, 07:26 AM
Nilpo's Avatar
Nilpo Nilpo is offline
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2006
Location: Salem, OH
Posts: 1,877 Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)  Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Week 2 Days 8 h 39 m 25 sec
Reputation Power: 967
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
Quote:
Originally Posted by icywave
Thank you nilpo,

Yes I'd like to make all of the changes that you have mentioned above.
Please give further instructions.

- For feeds, what do you mean by a link tag?
- What do you mean by accessibility standards?
- I will change the div tags to unordered lists. I will google that.
- I will upgrade my hosting plan when there's more traffic.
- How would I improve my design?

Thank you again.
Michael
Hello Michael,

Your first question is by far the easiest to answer. It only requires you to add a single line to your document headers.

As you're are aware, RSS feeds are used to syndicate your content. While you have a nice size button that informs your visitors of your feed, search engines are still unaware.

Most modern browsers as well as search engine spiders will attempt to "auto discover" any RSS or ATOM feeds associated with a site. This provides a great means of improving your PageRank and search engine rank as it makes your site more appealing. To enable auto-discovery, your HTML simply needs to tell the browsers and spiders where to find your feeds using a LINK tag. This is especially important for you since your feed is hosted at FeedBurner and not on your own domain.
html4strict Code:
Original - html4strict Code
  1. <link rel="alternate" type="application/rss+xml" title="3Or2-3: King Farts RSS Feed" href="http://feeds2.feedburner.com/kingfartsblog" />
Now let's get on to your second question.

When I refer to Accessibility Standards, I'm referring to web design practices that make your site more accessible for visitors with certain impairments. Consider a visitor with a sight impairment, for example. They may be navigating your site by means of a screen reader. By coding your web site with support for screen readers, you will have made your page more accessible for that user. And the list goes on. (Btw, this is the last thing I would tackle as it could take the longest. Also, my third piece of advice you'll find below will aid in this effort as well.)

To begin coding for accessibility, it's important to first learn about the initiative. Here's two links where you can begin reading. Once you got a handle, I can show you specific ways to improve your site.
W3C Web Accessibility Initiative (WAI)
Section 508: The Road to Accessibility
And here are your accessibility results.
WAI Validation for http://www.3or2-3.com/
Section 508 Validation for http://www.3or2-3.com/
The third piece of advice I would give you right now is to get your html and CSS to validate. Search engines will appreciate the effort and award you with better ranking, browsers will render your pages more efficiently, and you'll be one step closer to your goal of accessibility.
Markup Validation of http://www.3or2-3.com/ - W3C Markup Validator
W3C CSS Validator results for http://www.3or2-3.com/ (CSS level 2.1)
Comments on this post
icywave agrees: =)

Reply With Quote
  #7  
Old March 24th, 2009, 12:13 AM
icywave icywave is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Sep 2005
Location: Global Village
Posts: 719 icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 5 Days 4 h 15 m 41 sec
Reputation Power: 52
Send a message via MSN to icywave
Thank you again nilpo,

I'm working on the above list. You also mentioned load time and design.

I'm currently using services from www.hostdepartment.com. Don't know if that is good or not, they're offering Quad-core Intel® Xeon® Blade-servers as an upgrade I'm not sure if that is worth the money. Any ideas? Or can you suggest a reasonable host that is fair in price?

For the design, how many I improve on it? I'm trying hard to make it look nice, clean and not busy at the same time.

Regards,
Michael

Reply With Quote
  #8  
Old March 24th, 2009, 02:39 AM
Nilpo's Avatar
Nilpo Nilpo is offline
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2006
Location: Salem, OH
Posts: 1,877 Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)  Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Week 2 Days 8 h 39 m 25 sec
Reputation Power: 967
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
Once you get those pieces in place, I'll do a speed analysis on your code and let you know if you should consider different hosting. I haven't heard anything bad about them myself, but I haven't really looked into it either.

Reply With Quote
  #9  
Old March 24th, 2009, 09:41 PM
icywave icywave is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Sep 2005
Location: Global Village
Posts: 719 icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 5 Days 4 h 15 m 41 sec
Reputation Power: 52
Send a message via MSN to icywave
Hi Nilpo,

I got my CSS to validate, and I'm got most of the HTMLs working too, I'm currently having problems validating the youtube code. The youtube code involves embedding the assigned video code (The one at the end of the url) twice. And in my blog I'm only using the [tube][/tube] tag to indicate a youtube video. So I'm trying to use regex to pull out the informtion in between but I'm failing.

Code:
  Set regEx = New RegExp
  regEx.Global = true
  regEx.IgnoreCase = True
  regEx.Pattern = "(?<=<tube>).*(?=</tube>)"
  displaycontent = regEx.Replace(displaycontent, "<tube1>$1<tube2>$1<tube3>")


Can you kindly point to me where am I making mistakes? Thank you. =)

Reply With Quote
  #10  
Old March 24th, 2009, 09:48 PM
icywave icywave is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Sep 2005
Location: Global Village
Posts: 719 icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 5 Days 4 h 15 m 41 sec
Reputation Power: 52
Send a message via MSN to icywave
Hello Nilpo,

I kind of skipped the regex issue and modified my blogging code. So I guess I'll pass the regex part.

Now I have finished everything from the list except for accessibility. I'll slowly check into that in the future. Now may you please do a speed test on my script and provide insights to how I may improve the design?

Thank you.
Michael

Reply With Quote
  #11  
Old March 25th, 2009, 04:16 AM
Nilpo's Avatar
Nilpo Nilpo is offline
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2006
Location: Salem, OH
Posts: 1,877 Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)  Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Week 2 Days 8 h 39 m 25 sec
Reputation Power: 967
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
Quote:
Originally Posted by icywave
Hi Nilpo,

I got my CSS to validate, and I'm got most of the HTMLs working too, I'm currently having problems validating the youtube code. The youtube code involves embedding the assigned video code (The one at the end of the url) twice. And in my blog I'm only using the [tube][/tube] tag to indicate a youtube video. So I'm trying to use regex to pull out the informtion in between but I'm failing.

Code:
  Set regEx = New RegExp
  regEx.Global = true
  regEx.IgnoreCase = True
  regEx.Pattern = "(?<=<tube>).*(?=</tube>)"
  displaycontent = regEx.Replace(displaycontent, "<tube1>$1<tube2>$1<tube3>")


Can you kindly point to me where am I making mistakes? Thank you. =)
If you're trying to embed a YouTube video, you most likely have a video ID. Something like GqDQ0wUcSPQ.

In you're page, it probably looks like this:
Code:
[tube]GqDQ0wUcSPQ[/tube]
What you need to do is build a regex that will strip the Tube codes and replace the proper HTML. Let's see what that looks like. This is the URL to the video for the code above.
Code:
http://www.youtube.com/watch?v=GqDQ0wUcSPQ
You can see that it's just appended to the end of a simple URL. No problem. Let's see what that looks like in an Embed tag.
Code:
<object width="425" height="344">
  <param name="movie" value="http://www.youtube.com/v/GqDQ0wUcSPQ&hl=en&fs=1"></param>
  <param name="allowFullScreen" value="true"></param>
  <param name="allowscriptaccess" value="always"></param>
  <embed src="http://www.youtube.com/v/GqDQ0wUcSPQ&hl=en&fs=1"
    type="application/x-shockwave-flash"
    allowscriptaccess="always" allowfullscreen="true"
    width="425" height="344">
  </embed>
</object>
There you have the HTML that needs to go into your page. Notice that the URL appears twice, so we'll need to make two replacements in one. So in short, you want to take this:
html4strict Code:
Original - html4strict Code
  1. [tube]GqDQ0wUcSPQ[/tube]
...and replace it with this:
html4strict Code:
Original - html4strict Code
  1. <object width="425" height="344">
  2.   <param name="movie" value="http://www.youtube.com/v/GqDQ0wUcSPQ&hl=en&fs=1"></param>
  3.   <param name="allowFullScreen" value="true"></param>
  4.   <param name="allowscriptaccess" value="always"></param>
  5.   <embed src="http://www.youtube.com/v/GqDQ0wUcSPQ&hl=en&fs=1"
  6.     type="application/x-shockwave-flash"
  7.     allowscriptaccess="always" allowfullscreen="true"
  8.     width="425" height="344">
  9.   </embed>
  10. </object>
To do that, you will need to use the RegExp object as you have pointed out. So let's build a regex pattern that will find the required parts.
Code:
[tube](.*)[/tube]
You can see above in red that I've created a capturing group that will capture the code between the tags. But remember, square brackets are reserved characters in a regex so we need to escape those like this:
Code:
\[tube\](.*)\[/tube\]
So our code should look something like this:
vb Code:
Original - vb Code
  1. ' Start building output HTML
  2. strEmbed1 = "<object width=""425"" height=""344""><param name=""movie"" value=""http://www.youtube.com/v/"
  3.  
  4. ' Video code needs inserted between these two pieces...
  5.  
  6. strEmbed2 = "&hl=en&fs=1""></param>" _
  7.     & "<param name=""allowFullScreen"" value=""true""></param>" _
  8.     & "<param name=""allowscriptaccess"" value=""always""></param>" _
  9.     & "<embed src=""http://www.youtube.com/v/"
  10.  
  11. ' Video code needs inserted here as well...
  12.  
  13. strEmbed3 = "&hl=en&fs=1"" type=""application/x-shockwave-flash"" " _
  14.     & "allowscriptaccess=""always"" allowfullscreen=""true"" " _
  15.     & "width=""425"" height=""344""></embed></object>"
  16.  
  17. ' Assemble the replacement string...
  18. strReplacement = strEmbed1 & "$1" & strEmbed2 & "$1" & strEmbed3
  19.  
  20.  
  21. Set regEx = New RegExp
  22.     regEx.Global = true
  23.     regEx.IgnoreCase = True
  24.     regEx.Pattern = "\[tube\](.*)\[/tube\]"
  25.     displaycontent = regEx.Replace(displaycontent, strReplacement)
Voila! Your YouTube codes are replaced with their HTML equivalent. Be sure to keep the Global option set to True, otherwise the RegExp object will not capture the submatches it needs to do this.
Comments on this post
micky agrees!
icywave agrees!

Last edited by Nilpo : March 25th, 2009 at 04:21 AM.

Reply With Quote
  #12  
Old March 25th, 2009, 04:38 AM
Nilpo's Avatar
Nilpo Nilpo is offline
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2006
Location: Salem, OH
Posts: 1,877 Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)  Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Week 2 Days 8 h 39 m 25 sec
Reputation Power: 967
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
Quote:
Originally Posted by icywave
Hello Nilpo,

I kind of skipped the regex issue and modified my blogging code. So I guess I'll pass the regex part.

Now I have finished everything from the list except for accessibility. I'll slowly check into that in the future. Now may you please do a speed test on my script and provide insights to how I may improve the design?

Thank you.
Michael
Your site and feed now validate! Good job.

There are a couple of tiny issues for your RSS feed. You can take a look at the validator here.

http://validator.w3.org/feed/check....www.3or2-3.com/

The speed of the site isn't too bad considering all of the images. Here's one speed analysis. Overall for me your site loads in between 6 and 12 seconds. Anything under 10 is considered good on high-speed internet. Your code is clean (and that's good) so there are really only two ways to improve that: host a copy of all the images you are loading locally, and consider showing only excerpts of your posts on the main page. This will reduce the number of images loading on a single page. But even as is, it all looks pretty good. Congratulations. You've done a great done.

Reply With Quote
  #13  
Old March 25th, 2009, 10:27 AM
icywave icywave is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Sep 2005
Location: Global Village
Posts: 719 icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level)icywave User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 5 Days 4 h 15 m 41 sec
Reputation Power: 52
Send a message via MSN to icywave
Thank you nilpo!

You taught me many things that would of taken me a looong time to figure out by myself.

There's still some questions that I'd like to bother you with.

First, I just found out that my content pages, where the articles are, don't validate because there are custom javascripts involved... Just click on any of the articles in the site and it'll lead to one. I don't know javascript personally so I don't know how to modify them. Some of the javascripts involves adding custom elements to forms. These elements are unrecognized by w3c... How may I resolve this?

Another thing is that I've always created shortened pages on the front page in my previous blog. I basically pulled the first 600 characters out of my db. However I run into situations where the tags become incomplete. Also if some posts are based on images, then the length of the posts will be a LOT longer than others since links usually have fewer characters than paragraphs...

Thank you again nilpo.
I appreciate your help.

Reply With Quote
  #14  
Old March 25th, 2009, 12:20 PM
Nilpo's Avatar
Nilpo Nilpo is offline
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2006
Location: Salem, OH
Posts: 1,877 Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)  Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Week 2 Days 8 h 39 m 25 sec
Reputation Power: 967
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
Quote:
Originally Posted by icywave
Thank you nilpo!

You taught me many things that would of taken me a looong time to figure out by myself.

There's still some questions that I'd like to bother you with.
You're welcome. And it's no bother. I do this because I like to.
Quote:
Originally Posted by icywave
First, I just found out that my content pages, where the articles are, don't validate because there are custom javascripts involved... Just click on any of the articles in the site and it'll lead to one. I don't know javascript personally so I don't know how to modify them. Some of the javascripts involves adding custom elements to forms. These elements are unrecognized by w3c... How may I resolve this?
It doesn't look like there's anything to fix. It looks like your JavaScript is writing some HTML into the document, perhaps that's not what's validating. But it doesn't matter. Search engine spiders don't use JavaScript so you really only need to validate the source code, not the produced code. Of course, make sure that it renders properly though as yours seems to.
Quote:
Originally Posted by icywave
Another thing is that I've always created shortened pages on the front page in my previous blog. I basically pulled the first 600 characters out of my db. However I run into situations where the tags become incomplete. Also if some posts are based on images, then the length of the posts will be a LOT longer than others since links usually have fewer characters than paragraphs...
This is a difficult scenario because I can't see how you're set up. In my blog, I use a <!--more--> tag. My listing then show everything up to that tag as the excerpt. Thus, I control what gets displayed for every post. You could also extract only the first one or two paragraphs. You just need to figure out what's going to work for you and take content out in blocks. A pure character count won't quite cut it as you've seen.

Reply With Quote
  #15  
Old March 25th, 2009, 12:46 PM
Nilpo's Avatar
Nilpo Nilpo is offline
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2006
Location: Salem, OH
Posts: 1,877 Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)Nilpo User rank is General (90000 - 100000 Reputation Level)  Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Week 2 Days 8 h 39 m 25 sec
Reputation Power: 967
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
I think I might have set a record for the most words I've typed in a single thread.

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignSite Reviews > Www.30r2-3.com


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
Stay green...Green IT