• SEO Secrets: The “Topical Depth” Google Ranking Factor
    Articles,  Blog

    SEO Secrets: The “Topical Depth” Google Ranking Factor

    I am going to talk about topical relevancy and its importance in SEO. Now many a times, that you will find yourself trying to optimize for certain article, optimize certain articles on your blog. And you might not really rank well because there are many people who are very specialized in that area or that topic. Now let me take an example. Now suppose you have a general real estate site and you want to rank for the term – how to negotiate a lease agreement. Now, I have not checked the search results for this term at the time of this recording. But I can hypothesize a guess, that…

  • Web Search: Crash Course AI #17
    Articles,  Blog

    Web Search: Crash Course AI #17

    Hi, I’m Jabril and welcome to Crash Course AI! There used to be a time when a group of friends at dinner could ask a question like “is a hot dog a sandwich?” and it would turn into a basic shouting match with lots of gesturing and hypothetical examples. But now, we have access to a LOT of human knowledge in the palm of our hands… so our friends can look up memes and dictionary definitions and pictures of sandwiches to prove that none of them have a connected bun like hot dogs (disappointed). Search engines are a huge part of modern life. They help us access information, find directions…

  • You Ask, I Answer: Local SEO Strategy?
    Articles,  Blog

    You Ask, I Answer: Local SEO Strategy?

    Christopher Penn: In today’s episode chat asks, starting on a new website builder and incorporating multiple drop off locations in various states of the business would be best for SEO value to build standalone sites for each drop location or keep each location as a page under the main site. So generally speaking, when it comes to technical SEO, which is what we’re talking about sort of the infrastructure underneath the website, you want to follow a logical organizational system that adheres to the way that search engines especially Google, like to see site data. So that means you have one large organizational container of some kind, and then separate…

  • Extracting Links – Intro to Computer Science
    Articles,  Blog

    Extracting Links – Intro to Computer Science

    So now you know enough about Python to be able to solve the problem that we started with at the beginning of this unit, which the problem of extracting a link from its page. Before we get to the code, I want to describe a little more carefully what’s going on in a webpage. So we’ve talked about strings in Python and all a web page really is, is a long string. When you see a web page in your browser, it doesn’t look like that. So here’s an example web page, one of my favorite XKCD comics. And hopefully, you’re starting to learn enough about Python to appreciate the…

  • Articles

    Seed Pages in Real World – Intro to Computer Science

    Student Rodith asks, “How do we go about finding a good seed page?”>>This is a really good question, we haven’t solved that question in this course, and we won’t. We’re going to give you a seed page and have exercises and– sets of pages to crawl set up so that seed page will work well. For a real web crawler, this is a big challenge. And they don’t start with just one seed page; they start with a set of many seed pages that are selected in different ways. Some may be found by hand, by people identifying them as good seed pages, some may be the results of previous…

  • Finishing Crawl Web – Intro to Computer Science
    Articles,  Blog

    Finishing Crawl Web – Intro to Computer Science

    So now, we’re ready to finish the heart of our crawler. Let me put the last statement in, so you know there’s nothing else missing and you’ll be able to test this. And the last thing we want to do is return the result in crawled. When we finished the while loop, we’re ready to return crawled, which is the list of pages we found. What we have left to do is to figure out what we do to crawl each page. This is going to be a pretty tough quiz, I think you’ll need at least two lines of code. If you think about using all the procedures that…

  • Articles

    Search Engines And The Web – Intro to Computer Science

    [Dave] So welcome to Homework 1. Homework is going to be a little different from quizzes, so unlike the quizzes where you get instant feedback for each question, in the homework you’ll submit your answers, and you won’t see feedback on them until you submit your answers, and after the deadline for the homework, we’ll be posting answers and having discussion about the questions. So for Question 1, we want to see that you understand how web pages are constructed and what a web crawler will do. The goal for Question 1 is for you to find all the target links in the sample web page that we’ve provided. So…

  • Crawl Web – Intro to Computer Science
    Articles,  Blog

    Crawl Web – Intro to Computer Science

    Now we’re ready to write the code for crawling the web. So our goal is to define a procedure, we’ll call it crawl_web, that takes as input a seed page url. So, that’s the url that identifies our seed page, and outputs a list of all the urls that can be reached by following links starting from the seed page. So, if you’re really ambitious you should try to do this yourself without anymore help. That’s going to be a pretty tough challenge. So we’re also going to step through one way to do this as a series of quizzes. But you should feel free at any point, when you…

  • Print All Links Solution – Intro to Computer Science
    Articles,  Blog

    Print All Links Solution – Intro to Computer Science

    So here’s the code that we need to finish. We need a test condition for the while, and in this case we really want to keep on going forever until we’re done. So, we’re going to use while True and then use break to stop the loop. The test condition is true, and the way we know when we’re done is when the value returned as the URL was none. That means we got to the else, so to finish, we need to finish the else block by using break. Now let’s test our code. We’ll call print_all_links with our test string that has test 1, test 2, and test…