-- State Extradition
Currently, direct geo-fencing is not implemented in Yioop. To implement it, you could write code for Yioop that as you crawled made use of IP information to tag pages with a geographic region. To make this a little more sophisticated you could take into account some on page factors. Then when a query came in you could use the remote ip and/or location info coming from the user to add a meta keyword to the query based on the current location.
For a site like findcan.ca, I restricted the crawl to pages that only seemed to contain Canadian content. I did this in two ways: I only allowed sites that were from hosts or domains I whitelisted as Canadian, and for sites like wikipedia and others, I looked for certain words on the page using the Word Plugin which can be found under page options.
Hope this helps,
Chris
Currently, direct geo-fencing is not implemented in Yioop. To implement it, you could write code for Yioop that as you crawled made use of IP information to tag pages with a geographic region. To make this a little more sophisticated you could take into account some on page factors. Then when a query came in you could use the remote ip and/or location info coming from the user to add a meta keyword to the query based on the current location.
For a site like findcan.ca, I restricted the crawl to pages that only seemed to contain Canadian content. I did this in two ways: I only allowed sites that were from hosts or domains I whitelisted as Canadian, and for sites like wikipedia and others, I looked for certain words on the page using the Word Plugin which can be found under page options.
Hope this helps,
Chris