search for: in: entire forum this post
you are here: root => Suggestions => Meta Description and keywords tags.
member since:
folders:
0
posts:
3
replies:
6

Meta Description and keywords tags.

Could you make it so that the forum can make a description and keywords for the different posts?
post #188 permalink
please login to reply
member since:
folders:
10
posts:
22
replies:
75
to tell you the truth i never use these meta elements. good search engines should get the kewords and everything themselves in the real text and ignore these meta elements.

i cant say about other search engines but i can say my sites usually gets picked up pretty good by google and i never use any of these meta elements.

im really not convinced of the use of these meta elements.

maybe someday some kind of "on the page" poster-controlled keywords system might be more what i had in mind.

wassaa


test: test
post #189 permalink
member since:
folders:
0
posts:
3
replies:
6
thank you for replying. I hope that the indexers can find my site well. If it's not too much trouble for you could you make some bbcode for the following sites:
http://veoh.com
http://hulu.com
http://vids.myspace.com
I hate php regex. I do try to code them myself, but I don't fully understand it. If you know of any tutorials then could you post a link to them.

Also I made a bbcode for my site that allows users to post an mp3 file so that it will come up in a flash player.

mp3 flash player example
post #190 permalink
member since:
folders:
10
posts:
22
replies:
75
hey i like that mp3 code looks cool.

thanks for your suggestions i will add these sites good idea:

http://veoh.com
http://hulu.com
http://vids.myspace.com

rumors that veoh is supposed to close but whatever also i hate hulu cos it doesnt work in my country but ill add the code anyways

wassaa


test: test
post #191 permalink
member since:
folders:
0
posts:
3
replies:
6
I see that in the development install you already have veoh and hulu done. If you could post the php code you used for it I can modify my install now.

While working over the last few days I came up with a couple of bbcodes one for doing an automatic google search:

code:
//Google Search
$bb_replace_3rd_party['google']='/\[google\]([^\[]+)\[\/google\]/is';
$bb_replacements_3rd_party['google']='Search <img src="http://www.google.com/logos/Logo_25wht.gif" width="38" height="18" alt="Google Search" border="0"> for <a href="http://www.google.com/search?q=\\1" target="_blank">\\1</a>';
$bb_name['google']='google search';
$bb_legend['google']='[GOOGLE]Jacarta Anime[/GOOGLE]Searches a keyword in google on the post';
$bb_type['google']='3rd party';


Example of Google search


and one for google videos:
code:
//Google Video
$bb_replace_3rd_party['googlevideo']='/\[googlevideo\]([^\[]+)\[\/googlevideo\]/is';
$bb_replacements_3rd_party['googlevideo']='<embed id=VideoPlayback src=http://video.google.com/googleplayer.swf?docid=\\1 style=width:400px;height:326px allowFullScreen=true allowScriptAccess=always type=application/x-shockwave-flash> </embed>';
$bb_name['googlevideo']='google videos';
$bb_legend['googlevideo']='[GOOGLEVIDEO]2374413279388409654[/GOOGLEVIDEO] embeds a google video in the post Note: You have to use the docid.';
$bb_type['googlevideo']='3rd party';


Example of Google Video

I know the Google Video needs a little improvement on the height and width.
post #192 permalink
member since:
folders:
10
posts:
22
replies:
75
sure, just add these to your bbcode.php:

code:
//veoh videos
$bb_replace_3rd_party['veoh']='/\[veoh(( width=([^ \]]+))*|( height=([^ \]]+))*)*\][^\[]+(\/watch\/|#watch%3D)([^\[\/ ]+)[^\[]*\[\/veoh\]/is';
$bb_replacements_3rd_party['veoh']='<object width="\\3" height="\\5" id="veohFlashPlayer" name="veohFlashPlayer"><param name="movie" value="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.5.2.1010&permalinkId=\\7&player=videodetailsembedded&videoAutoPlay=0&id=anonymous"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.5.2.1010&permalinkId=\\7&player=videodetailsembedded&videoAutoPlay=0&id=anonymous" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="\\3" height="\\5" id="veohFlashPlayerEmbed" name="veohFlashPlayerEmbed"></embed></object>';
$bb_name['veoh']='veoh video';
$bb_legend['veoh']='[VEOH WIDTH=100 HEIGHT=100]http://www.veoh.com/browse/videos/category/anime/watch/v19795173jnnEpsfr[/VEOH] or [VEOH]http://www.veoh.com/browse/videos#watch%3Dv19706526pnSRRmjF[/VEOH] embeds a veoh video in the post';
$bb_type['veoh']='3rd party';


//hulu videos
$bb_replace_3rd_party['hulu']='/\[hulu\][^\[]+width="([^\[]+)"[^\[]+height="([^\[]+)"[^\[]+\/embed\/([^\[">]+)[^\[]+\[\/hulu\]/is';
$bb_replacements_3rd_party['hulu']='<object width="\\1" height="\\2"><param name="movie" value="http://www.hulu.com/embed/\\3"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.hulu.com/embed/\\3" type="application/x-shockwave-flash"  width="\\1" height="\\2" allowFullScreen="true"></embed></object>';
$bb_name['hulu']='hulu video';
$bb_legend['hulu']='[HULU]<object width="512" height="288"><param name="movie" value="http://www.hulu.com/embed/4gGUkHsEu7hiQ0bGCp1iIg"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.hulu.com/embed/4gGUkHsEu7hiQ0bGCp1iIg" type="application/x-shockwave-flash"  width="512" height="288" allowFullScreen="true"></embed></object>[/HULU] embeds a hulu video in the post';
$bb_type['hulu']='3rd party';


//myspace videos
$bb_replace_3rd_party['myspace_video']='/\[myspace_video(( width=([^ \]]+))*|( height=([^ \]]+))*)*\][^\[]+videoid=([^\[&]+)[^\[]*\[\/myspace_video\]/is';
$bb_replacements_3rd_party['myspace_video']='<object width="\\3px" height="\\5px" ><param name="allowFullScreen" value="true"/><param name="wmode" value="transparent"/><param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m=\\6,t=1,mt=video"/><embed src="http://mediaservices.myspace.com/services/media/embed.aspx/m=\\6,t=1,mt=video" width="\\3" height="\\5" allowFullScreen="true" type="application/x-shockwave-flash" wmode="transparent"></embed></object><br/><a style="font: Verdana" href="http://www.myspace.com/diagonalview">Diagonal View</a> | <a style="font: Verdana" href="http://vids.myspace.com">MySpace Video</a></font>';
$bb_name['myspace_video']='myspace video';
$bb_legend['myspace_video']='[MYSPACE_VIDEO WIDTH=100 HEIGHT=100]http://www.veoh.com/browse/videos/category/anime/watch/v19795173jnnEpsfr[/MYSPACE_VIDEO] embeds a myspace video in the post';
$bb_type['myspace_video']='3rd party';



the update is fully ready now im packing it up to put the download online.

let me know if you have more suggestions!

wassaa


test: test
post #193 permalink
member since:
folders:
0
posts:
3
replies:
6
thanks for the speed of your support. I think I'll start to look into some additions for social networking. I suppose I'll start with facebook.
post #194 permalink
member since:
folders:
10
posts:
22
replies:
75
yes ill be happy to see that.

by the way i got my regular expression knowledge from using these 2 ressources:

http://en.wikipedia.org/wiki/Regular_expression
http://www.regular-expressions.info/

what i find particularily helpful is this reference chart: http://www.regular-expressions.info/reference.html

shows you pretty much all the symbols so you can see what they do but also know which chars have special meaning so you know to escape them

and of course the php manual page for preg_replace() which is what im using for most of the bbcode tags:
http://php.net/manual/en/function.preg-replace.php

wassaa


test: test
post #195 permalink
member since:
folders:
0
posts:
3
replies:
6
thanks for the tips. It seems a bit more understandable now. I'll be sure to keep working on codes and making suggestions.
post #196 permalink
please login to reply

moderators of this post

josh041692 (level: ∞)
powered by Nodesforum