এই ব্লগটি থেকে জনপ্রিয় পোস্টগুলি
SEO [Search Engine Optimization ] (সার্চ ইঞ্জিন অপ্টিমাইজেশান)
https://app.neilpatel.com/en/traffic_analyzer/keywords?domain=allresultbd.com&locId=2840&lang=en&type=organic https://www.namemesh.com/domain-name-search/resultbd?show=1 SEO Traditional SEO: [Def:] PPC = Pay Per Click. SERP = Search Engine Result Page. When and why customers need Paid SEO? For maintaining their own brand. Can not go to the 1st page by organic SEO. Youtube SEO crash course-1 2 method: Paid organic SEO [free seo] on page whatever we do into our web site off-page Whatever we do outside of our website is called off-site SEO [ex: backlink] SEO Way white hat technique Black hat Gray hat for removing google.com.bd and go to only google.com https://www.google.com/ ncr SERP: Right side: Google Knowledge Graph / One box . Site Link: Google Pack / Snack pack: usually 3 pack, 4pack [ only for local searc...
Web Scraping With PHP
//Making User agent just like google which helps the browser to say which site visit $options = array ( 'http' => array ( 'method' => "GET" , 'headers' => "User-Agent: Nir003" )); $context = stream_context_create ( $options ); // allows you to parse html pages $doc = new DOMDocument(); // load full page in $doc variable //download the page @ $doc ->loadHTML(@ file_get_contents ( $url , false , $context )); Thats all! your page load into $doc as object 😍😍😍😍😍😍😍😍😍😍😍😍😍😍😍😍😍😍😍 Now the data is yours ;) now do what ever you want with this scraped data. Like here i separate title from $doc : $title = $doc ->getElementsByTagName( "title" ); $title = $title ->item( 0 )-> nodeValue ; echo $title; // <title> Youtube(nodeValue) </title>
মন্তব্যসমূহ
একটি মন্তব্য পোস্ট করুন