Blog chia sẻ và thảo luận về IT|Programming Language|Search Engine Optimization|Data Base|Linux| ...

datnguyen

Những công cụ hỗ trợ SEO 2012

+ No comment yet

I. KEYWORDS - Tools dùng phân tích từ khóa...

GOOGLE KEYWORD TOOL - https://adwords.google.com/select/KeywordToolExternal
GOOGLE SUGGEST AND GOOGLE RELATED SEARCHES - http://www.google.com/
KEYWORD SPY - http://www.keywordspy.com/
SPYFU - http://www.spyfu.com/
WORDPOT - KEYWORD DISCOVERY TOOL - http://www.wordpot.com/
GOOGLE INSIGHTS FOR SEARCH - http://www.google.com/insights/search/#
GOOGLE TRENDS - http://www.google.com/trends
ISPIONAGE - http://www.ispionage.com/
KEYWORD DENSITY CALCULATOR - http://www.xml-sitemaps.com/keyword-density-tool.html
KEYWORD NICHE FINDER - http://www.wordstream.com/keyword-niche-finder/
KEYWORD RESEARCH TOOL - http://tools.seobook.com/keyword-tools/seobook/
META GLOSSARY - http://www.metaglossary.com/
METAMEND - KEYWORD DENSITY TOOL - http://www.metamend.com/seo-tools/ke...-analyzer.html
RELATED KEYWORD FINDER - http://www.gorank.com/seotools/ontology/
SEO CENTRO'S KEYWORD SUGGESTION TOOL - http://www.seocentro.com/tools/searc...uggestion.html
SEOCENTRO'S KEYWORD DENSITY TOOL - http://www.seocentro.com/tools/seo/keyword-density.html
THESAURUS.COM - http://thesaurus.com/
UBERSUGGEST - http://ubersuggest.org/
WEBCONFS.COM - KEYWORD DENSITY TOOL - http://www.webconfs.com/keyword-density-checker.php
WORDLE.NET - CREATE WORD CLOUDS - http://www.wordle.net/create
QUINTURA - http://www.quintura.com/

II.PAGE TAGS - Tool dùng phân tích onpage...

META TAG ANALYZER FROM SEOCENTRO - http://www.seocentro.com/tools/searc...-analyzer.html
KEYWORD DENSITY CALCULATOR - http://www.xml-sitemaps.com/keyword-density-tool.html
METAMEND - KEYWORD DENSITY TOOL - http://www.metamend.com/seo-tools/ke...-analyzer.html
PAGERANK.NET - KEYWORD DENSITY ANALYZER - http://www.pagerank.net/keyword-density-analyzer/
PEAR ANALYTICS - META ANALYSIS TOOL - http://www.pearanalytics.com/
PINEBERRY SEO - KEYWORD VS. TAG ANALYSIS TOOL - http://www.pineberry.com/en/analysis-tool/
SEO BROWSER - AS THE SEARCH ENGINE SEE YOU - http://www.seo-browser.com/
SEOCENTRO'S KEYWORD DENSITY TOOL - http://www.seocentro.com/tools/seo/keyword-density.html
TITLE TAG RELEVANCY CHECKER - http://int-seo.com/title_creator_tool.php
WEBCONFS.COM - KEYWORD DENSITY TOOL - http://www.webconfs.com/keyword-density-checker.php
WOORANK - http://www.woorank.com/
BRUCE CLAY'S SEOTOOLSET TOOLS - http://www.seotoolset.com/tools/free_tools.html
LETTER COUNT UTILITY - http://www.lettercount.com/
LINK NINJAS ON PAGE OPTIMIZATION TOOL - http://www.internetmarketingninjas.c...-optimization/
SEO NINJAS ON PAGE COMPARISON TOOL - http://www.internetmarketingninjas.c...s/seo-compare/
SEO PAGE TAG COUNTER TOOL - http://intinc.com/support/title-desc...unter-tool.htm
SEOWORKERS.COM PAGE CHECKER - http://www.seoworkers.com/tools/analyzer.html
SPYDERMATE - http://spydermate.com/
TAG CROWD - KEYWORD DENSITY AND TAG ANALYSIS - http://www.tagcrowd.com/

III. LINK BUILDING - Tool hỗ trợ xây dựng backlink...

LINKDIAGNOSIS.COM - http://www.linkdiagnosis.com/
OPEN SITE EXPLORER - http://www.opensiteexplorer.org/
TOPSY - http://topsy.com/
AHREFS - http://ahrefs.com/
BACKLINK WATCH - http://www.backlinkwatch.com/
MAJESTIC SEO - https://www.majesticseo.com/
SEOCENTRO'S PAGERANK CHECKER - http://www.seocentro.com/tools/searc.../pagerank.html
SOLO SEO LINK SEARCH TOOL - http://www.soloseo.com/tools/linkSearch.html
WEBMASTER TOOLS FROM BING - http://www.bing.com/toolbox/webmasters/
ALEXA SITEINFO - http://www.alexa.com/siteinfo
PRCHECKER - PAGERANK CHECKER - http://prchecker.info/
SEO LINK BUILDING QUERY GENERATOR - http://tools.buzzstream.com/link-bui...uery-generator
THE FREE LINK TOOL - http://www.thefreelinktool.com/
TOUCH GRAPH'S LINK TOOL - http://www.touchgraph.com/seo

IV. NEWS - Tools hõ trợ PR...

PRESSRELEASE POINT - http://www.pressreleasepoint.com/
PRLOG - FREE PRESS RELEASE SERVICE - http://www.prlog.org/
PRWEB - http://www.prweb.com/
RELEASE NEWS - http://www.release-news.com/
ONLINE PR NEWS - http://www.onlineprnews.com/
PRESS RELEASE CREATOR - http://www.ducttapemarketing.com/IPR.htm
1888PRESSRELEASE - http://www.1888pressrelease.com/
GOOGLE NEWS SEARCH - http://news.google.com/
PRESS ABOUT - http://www.pressabout.com/
ADD PR - http://www.addpr.com/
BRIEFINGWIRE.COM - http://www.briefingwire.com/
ERELEASES - AN AFFILIATE OF PRNEWWIRE - http://www.ereleases.com/
MEDIASYNDICATE - http://www.mediasyndicate.com/
PR URGENT - http://prurgent.com/
CLICK PRESS - http://www.clickpress.com/releases/
FREE PRESS RELEASE.COM - http://www.free-press-release.com/
NEWS WIRE TODAY - http://www.newswiretoday.com/
PITCHENGINE - http://www.pitchengine.com/
PR INSIDE - http://www.pr-inside.com/
PRES***POSURE - http://pres***posure.com/
THE OPEN PRESS - http://theopenpress.com/


V. RANK

SEOBOOK - FIREFOX RANK CHECKER - http://www.seobook.com/
SITEMAPDOC'S SERP RANK CHECKER - http://www.sitemapdoc.com/Serp-Rank.aspx
CUTERANK - http://cuterank.net/
DYNAMIC KEYWORD GENERATOR TOOL - http://www.rustybrick.com/keyword-phrase-tool.php
GOOGLE RANKCHECKER.NET - http://googlerankchecker.net/
GOOGLE SERP RANK CHECKER - http://www.siteexpert.net/google-position-checker.html
GOOGLE SERP RANK CHECKER - http://www.web-backlinks.com/google-...on-checker.asp
RANK CHECKER FROM SEO CENTRO - http://www.seocentro.com/tools/searc...-position.html
SEARCH ENGINE SATURATION (INDEXED) TOOL - http://www.seocentro.com/tools/searc...aturation.html
SEM RUSH - http://www.semrush.com/
HIDE MY ASS - http://hidemyass.com/
KEYWORD ENVY - http://www.keywordenvy.com/
KPMRS SERP RANK TOOL - http://www.kpmrs.com/
RANK PANEL - http://www.rankpanel.com

VI. WEBSITE STRUCTURE

GOOGLE WEBMASTER TOOLS - http://www.google.com/webmasters/tools
XML SITEMAPS.COM - SITEMAP GENERATOR - http://www.xml-sitemaps.com/
GOOGLE WEBMASTER BLOG - http://googlewebmastercentral.blogspot.com/
GOOGLE WEBMASTER HELP - http://www.google.com/support/webmasters/
FREE SITEMAP GENERATOR - http://www.freesitemapgenerator.com/
GOOGLE (AND YAHOO!) SITEMAP GENERATOR FOR WINDOWS - http://gsitecrawler.com/
GOOGLE'S FREE PAGE SPEED TOOL - https://developers.google.com/pagespeed/
SEO BROWSER - AS THE SEARCH ENGINE SEE YOU - http://www.seo-browser.com/
SEO TRAINING KEYWORD DOMAIN TOOL - http://www.webconfs.com/keyword-rich...uggestions.php
WEBMASTER TOOLS FROM BING - http://www.bing.com/toolbox/webmasters/

VII. LOCAL SEARCH

GOOGLE'S PLACES BLOG - http://places.blogspot.com/
GOOGLE PLACES USERS GUIDE - http://support.google.com/places/bin...=1660711&answe...
GOOGLE PLACES USERS GUIDE - http://www.google.com/support/places...ide.cs&guide=2...
GOOGLE PLACES FORUMS - http://www.google.com/support/forum/p/Places
GOOGLE PLACES HELP - http://www.google.com/support/places/
BING LOCAL - http://www.bing.com/businessportal/

VIII. GOOGLE+

GOOGLE+ BLOG POST (BUSINESSES ON GOOGLE+) - http://googleblog.blogspot.com/2011/...t-with-all-thi...
GOOGLE AUTHORSHIP PROGRAM - https://www.google.com/insidesearch/authorship.html
GOOGLE+ DEVELOPERS SITE - https://developers.google.com/ /
GOOGLE+ LEARNING SITE - http://www.google.com/ /learnmore/
GOOGLE+ +1 BUTTON - https://developers.google.com/ /plugins/ 1button/
GOOGLE+ BADGE - https://developers.google.com/ /plugins/badge/config
GOOGLE+ FOR BUSINESS - http://www.google.com/ /business/
GOOGLE+ HANG OUTS - http://gphangouts.com/
GOOGLE+ STATISTITCS - http://socialstatistics.com/
WIDGETS PLUS - http://widgetsplus.com/
...

IX. METRICS

GOOGLE ANALYTICS - http://www.google.com/analytics/
GOOGLE WEBMASTER TOOLS - http://www.google.com/webmasters/tools
GOOGLE ANALYTICS APP GALLERY - http://www.google.com/analytics/apps
GOOGLE ANALYTICS CHANNEL ON YOUTUBE - http://www.youtube.com/googleanalytics
GOOGLE ANALYTICS SEMINARS - http://www.google.com/adwords/seminars/analytics1.html

X. GOOGLE RESOURCES

GOOGLE SPECIAL SEARCH CHARACTERS - http://www.google.com/support/websea...&answer=134479
GOOGLE BLOG SEARCH - http://www.google.com/blogsearch
GOOGLE PLACES - FORMERLY GOOGLE LOCAL - http://www.google.com/places
GOOGLE ADWORDS BLOG - http://adwords.blogspot.com/
GOOGLE WEBMASTER BLOG - http://googlewebmastercentral.blogspot.com/

Nguồn: tổng hợp từ Internet

PHP Basic

+ No comment yet
Đây là bài viết tổng hợp kiến thức Php căn bản mình sưu tầm trên google nên sẽ không theo một chủ đề hay Tuturial nào. Hi vọng sẽ cập nhật thường xuyên ....

I .  Phép toán  === (3 dấu bằng) là sao vậy ?

So sánh giá trị và kiểu dữ liệu:
Ví dụ nhé:
Mã: 
<?php
$a = 0;
if ($a == false) {
   echo "aaaaaaaaaaaa";
}
else {
   echo "bbbbbbbbbbbb";
}
?>

Đoạn code trên sẽ in ra: aaaaaaaaaaaa
Nhưng đoạn code sau:
Mã:
<?php
$a = 0;
if ($a === false) {
   echo "aaaaaaaaaaaa";
}
else {
   echo "bbbbbbbbbbbb";
}
?>

thì in ra: bbbbbbbbbbbb

II . Một số chú ý khi viết mã PHP để tối ưu tốc độ ....



  1. Viết các phương thức, hàm có thể được dưới dạng Static để tăng tốc độ thực thi.
  2. Sử dụng echo thay cho print.
  3. Dùng echo để xuất các biến nối tiếp nhau thay cho việc xuất các chuỗi liên tiếp.
  4. Gán giá trị lớn nhất cho biến chạy trong vòng lặp for, thay vì gán bên trong như thông thường. VD: $maxvalue = 100/10; for($i=0; $i<$maxvalue; $i++){ // Code } sẽ nhanh hơn: for($i=0; $i<100/10; $i++){ // Some code }
  5. Unset các biến để giải phóng bộ nhớ, đặc biết là các mảng lớn.
  6. Hạn chế dùng các hàm __get, __set, __autoload
  7. Hàm require_once() nên sự dụng hạn chế.
  8. Sử dụng được dẫn đầy đủ ở các hàm includes và requires.
  9. Nếu bạn cần biết thời gian lúc đoạn script bắt đầu thực thi, hàm $_SERVER[’REQUEST_TIME’] được ưu tiên sử dụng hơn time()
  10. Nếu có thể, nên sử dụng strncasecmp, strpbrk và stripos thay cho regex.
  11. Dùng str_replace nhanh hơn preg_replace, nhưng hàm strtr lại nhanh hơn str_replace.
  12. Nếu trong các hàm, như là hàm thay thế chuỗi, sử dụng tham biến gồm cả chuỗi và kí tự, nên viết thêm 1 vài hàm thay thế từng kí tự một trong chuỗi, thay vì sử dụng 1 dòng code tìm và thay thế nhiều chuỗi.
  13. Sử dụng lệnh rẽ nhánh switch tốt hơn 1 lô lốc các lệnh if,else if chồng nhau.
  14. Chặn lỗi bằng kí tự @ rất chậm.
  15. Bật hàm mod_deflate của apache.
  16. Đóng kết nối với CSDL khi các thao tác với nó đã hoàn thành.
  17. $row[’id’] nhanh hơn 7 lần so với $row[id]
  18. Các thông báo lỗi (Error Messages) rất tốn tài nguyên.
  19. Không sử dụng các hàm bên trong vòng lặp, ví dụ: for ($x=0; $x < count($array); $x) , hàm count() sẽ được gọi mỗi lần lặp.
  20. Tăng giá trị 1 biến cục bộ (local variable) bên trong phương thức của nó thì nhanh hơn. Gần như việc gọi 1 biến cục bộ trong 1 hàm.
  21. Tăng giá trị của biến toàn cục (global variable) chậm hơn 2 lần so với biến cục bộ.
  22. Tăng giá trị thuộc tính của 1 object (vd: $this->prop++) thì chậm hơn 3 lần so với biến cục bộ.
  23. Tăng giá trị của 1 biến cục bộ chưa được định nghĩa sẽ chậm hơn 9-10 lần so với 1 biến đã được cài đặt sẵn từ trước.
  24. Chỉ khai báo 1 biến toàn cục mà không sử dụng nó trong một hàm cũng làm chậm tốc độ (bằng khoảng thời gian như việc tăng giá trị 1 biến cục bộ). PHP hầu như phải kiểm tra xem biến này có tồn tại trước đó hay không.
III. 
Tớ đang có project cần làm 1 cái schedule . Hiện tại đang vật vã vì thiếu kinh nghiệm xử lý các kiểu dữ liệu về ngày tháng , thời gian .
Giờ trong database của tớ có 2 column . 1 cái format theo date , 1 cái theo time . VD :
Date : 2008-08-27 ( 0000-00-00 )
Time : 10:00:00 ( 00:00:00 )
Tớ cần xử lý 1 số vấn đề sau :
- So sánh thời gian hiện tại với dữ liệu trong db . VD lấy ra tất cả nội dung trong ngày 27/8/08 .Hay lấy các event sắp đến . VD lúc 10h30 học Toán , 10h45 học Lý , 11h học Hoá .v.v...
- Tách riêng từng phần tử trong CSDL khi lấy ra = php để xử lý . Đại loại như : getDate("2008-08-27") => 27 . Hoặc getHour("10:00:00") => 10
Hiện tại đang khá bế tắc . Ví dụ như hàm time() nó lại trả theo kiểu unix còn của mình lưu trữ theo date , time hoặc datetime muốn so sánh phải dùng hàm date format lại :( Còn những trường hợp như tớ đề cập ở trên VD tớ muốn lấy các event sau 10h thì phải so sảnh thế nào ? :(  Ai biết xin hướng dẫn tớ với .

Vụ này tớ chưa làm chi tiết bao giờ , nhưng theo tớ nhớ là giữa timestamp của MYSQL và UNIX nó khác nhau 1 trời 1 vực , của mysql là yyyy-mm-dd hh:mm:ss , còn UNIX Timestamp là 123123213 gì gì đó , do đó việc so sánh trực tiếp là ... ko thể , phải trải qua các ông mai bà mối trung gian :d
Mysql có hàm để chuyển UNIX TimeStamp sang MYSQL Timestame là FROM_UNIXTIME() , dùng tạm nó để so sánh cũng được .
Àh , mà sao ko dùng kiểu DATETIME hay Timestamp mà lại chia ra thành 2 field thế nhỉ ...

Khi bạn gọi hàm time() không tham số thì hàm sẽ trả về Unix timestamp, tức là số giây tính từ thời điểm bắt đầu có khái niệm Unix (January 1 1970 00:00:00 GMT). Bạn có thể vào đây để tham khảo về tham số của hàm time() -> http://www.php.net/manual/en/function.time.php.

Link: http://www.ddth.com/showthread.php/42124-xin-hỏi-về-hàm-time()-trong-php?s=49a41c459e605f63ef331f4000185241#ixzz2ECLHeQMF

4.
Các bác cho em hỏi cái:
Em tạo một trang để thu thập dữ liệu qua form HTML như sau:
Code: [Select]
<form action="check02.php" method="post">
<input type="text" name="hoten" value="Ho va Ten"><BR>
<input type="text" name="ngaysinh" value="Ngay sinh DD/MM/YY"><BR>
<input type="submit" name="submit" value="Add">
<input type="reset" name="reset" value="Clear">
</form>

Sau đó kết quả sẽ đưa về trang check02.php để xử lý, như sau:

Code: [Select]
<?php
if (isset($_POST[submit])&&($_POST[submit] == "Add"))
{echo "<B>Cam on ban da gui thong tin</B>";}
else{
?>
<form action="check02.php" method="post">
<input type="text" name="hoten" value="Ho va Ten"><BR>
<input type="text" name="ngaysinh" value="Ngay sinh DD/MM/YY"><BR>

<input type="submit" name="submit" value="Add">
<input type="reset" name="reset" value="Clear">
<?php
}
?>

Tuy nhiên, sau khi ấn Submit, thì nó hiện thông báo
Notice: Use of undefined constant submit - assumed 'submit' in C:\wamp\www\check02.php on line 2
Notice: Use of undefined constant submit - assumed 'submit' in C:\wamp\www\check02.php on line 2
Cam on ban da gui thong tin

Em hiểu ở đây là nó báo lỗi biến submit ở trang check02.php chưa được khai báo (vì nó nhận dữ liệu ở trang trước đó).

Cấu hình multi modules trong Zend 1.x

+ No comment yet
Cấu trúc URL trong zend , ( multi modules )
http://zf/modules/controller/action/id/1....


File Aplication.ini

[production]
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.params.displayExceptions = 0
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.modules = ""
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
resources.layout.layout = template
[staging : production]
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1

[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1


Cài đặt Google Analytics cho Blogger

+ No comment yet
Sau khi đăng ký thành không tài khoản Google Analytics, bạn vào ADMIN như hình dưới :




Copy phần Tracking ID :  UA ... để dán vào blog

Trong Blog vào Setings -> Other



OK Và chờ trong 24h google sẽ cập nhật nhé ;
Kết quả :



Ẹc Blog mới tạo và chưa SEO nên mới 12 Tên ghé thăm là cao nhất, cùi mía quá :D

Chúc mọi người cuối tuần vui vẻ :)


Khôi phục lại cấu hình mặc định cho Adobe Photoshop CS5 - Restore to default settings

+ No comment yet

Adobe Photoshop: Restore to default settings

While using Photoshop, many users tweak the program’s settings and end up with unwanted program’s behaviors. This simple guide will show you how to restore Photoshop’s settings to the default state. This has been tested to work in versions CS3, CS4, and CS5.




Option 1:
1. Double click on Adobe Photoshop’s icon.
2. QUICKLY hold down Ctrl+Alt+Shift. (if you hold down Ctrl+Alt+Shift before double clicking on the program’s icon, it may not work)
3. When the small window pops up and asks “Delete the Adode Photoshop Settings File?“, click Yes.



4. The program will start with default settings.

Options 2:
1. Manually locate the settings file. It is located in:
For XP users: Documents and Settings/[Username]/Application Data/Adobe/Adobe Photoshop CS5/Adobe Photoshop CS5 Settings
For Vista/Windows 7 users: Users/[Username]/AppData/Roaming/Adobe/Adobe Photoshop CS5/Adobe Photoshop CS5 Settings
2. Find the file named Adobe Photoshop CS5 Prefs.psp and delete it.


  


3. Launch Photoshop. The program will start with default settings.

Trong tương lai, ta đã chọn một con đường,…

+ 2 comments
Cuối cùng thì ngày phải đến cũng đã đến. Những gì phải đối mặt, những gì phải vượt qua thì ta mãi mãi không thể nào trốn tránh được. Đó dường như đã là chân lý, là định mệnh cuộc đời mà ta không thể nào phủ nhận, không thể nào chống lại. Ta chỉ có thể nhẹ thả mình, đi theo dòng đời vốn dĩ vẫn trôi của nó. Nhẹ lòng hơn, bởi sau tất cả những suy nghĩ, đắn đo, ta đã quyết định chọn một con đường mới. Phía trước có lắm bão giông, nhiều những trăn trở, khúc mắc. Ta không biết. Phía trước con đường có phải đang trải đầy nhung lụa, nâng bước chân ta, nâng từng nhịp đời. Ta cũng không hay. Chỉ ở thời điểm hiện tại đây, ta cảm thấy lòng ta đã nhẹ nhàng, và bình yên, thanh thản hơn nhiều. 

http://www.youtube.com/watch?v=s1-rkMRp-qA 




Chmod website chạy shared hosting

+ No comment yet

Chào mọi người , hôm nay mình chia sẻ bài viết  Chomod an toàn bảo mật website, tất nhiên đây chỉ là một trong số cách để hạn chế những gì xấu nhất có thể xảy ra với website của bạn , Vì thế s không hoàn toàn giải quyết được vấn đề bảo mật của website. Kiến thức về hosting domain mình cũng hạn hẹp, Web mới bdính Sell vừa mới  nhờ mấy bác kĩ thuật bên PA việt nam  support nên cũng  chia sẻ mọi người luôn  :)). Và ở đây hướng dẫn các bạn Chomod trên Server UNIX nhé


1.CHMOD thư mục Public_html thành 710 thay vì 750 mặc định việc này sẽ giúp bạn bảo vệ được cấu trúc Website của mình. 

2. CHMOD thư mục là 701 và cố gắng đừng bao giờ CHMOD 777, có một số folder ko quan trọng, bạn có thể CHMOD 755 để có thể hiện thị đúng và đầy đủ một số nội dung trong Folder đó . 

3. CHMOD tập tin config và các file index.php của site thành 400  thay vì 644 thường dùng, điều này chống hacker local và view source của tập tin này  (nếu lỗi thì set 444)

4. Các file index.htm, index.html, hay các tập tin .html hãy cố gắng chmod thành 404 (nếu lỗi thì set 444) thay vì mặc định là 644

-Thay đổi cấu trúc, tên file mặc định có chứa các thông tin quan trọng . Nếu có thể hãy thay đổi cả cấu trúc CSDL nếu bạn làm được .
-Thiết lập các tường lửa truy cập Admin mà ko sử dụng đến CSDL, mã hóa User/Pass thì càng tốt


Có ý kiến gì hay thì các bạn  comment bên dưới để mọi người cũng tìm hiểu thêm. Chúc một ngày vui vẻ nhé :)