Thursday, 12 February 2015

Dear Donna: Tread Lightly When Suggesting 'Man-Scaping'

Dear Donna,

A man I recently began dating needs some "man-scaping." I would find him much more appealing if he trimmed the hair in his ears and nose and on the back of his neck. He has hinted that he is buying me something for Valentine's Day. Do you think it would be appropriate to buy him a gift certificate to a spa and tell him he could benefit from some "man-scaping?" - Anonymous

Dear Anonymous,

Since Valentine's Day is about love and romance, I would not put the focus on "man-scaping" by buying him a gift certificate to a spa. There is no easy, tactful way to suggest to someone that they do something about ear and nose hair. One day when you are sitting close to him, whisper in his ear, "I think you could use some "man-scaping." After you explain what "man-scaping" is, be ready with the card to the spa.

Dear Donna,

I am in my 40s, single and dating for the past five years. I meet men mostly through friends, work and online. The last two men I met assumed we would split the bill after lunch or dinner. The first one caught me off guard so I paid. I also immediately decided I would not see him again. The second added up my half of the bill and asked me what kind of tip I thought was appropriate. I told him I thought he should pay, and the date went downhill from there. Whatever happened to the gentleman pays? - Sarah

Dear Sarah,

This is a side effect of online dating. When you are meeting multiple women, it can be expensive to always be the one paying. If you are meeting someone for the first time, keep it simple. Agree to meet for one hour and not over lunch or dinner. Most men do not expect a lady to split the cost of a cup of coffee or a glass of wine. Bottom line, if he is interested in you, he gladly will pay.

Source:http://gazette.com/dear-donna-tread-lightly-when-suggesting-man-scaping/article/1545611

Sunday, 1 February 2015

I Don’t Need No Stinking API: Web Scraping For Fun and Profit

If you’ve ever needed to pull data from a third party website, chances are you started by checking to see if they had an official API. But did you know that there’s a source of structured data that virtually every website on the internet supports automatically, by default?
scraper toolThat’s right, we’re talking about pulling our data straight out of HTML — otherwise known as web scraping. Here’s why web scraping is awesome:

Any content that can be viewed on a webpage can be scraped. Period.

If a website provides a way for a visitor’s browser to download content and render that content in a structured way, then almost by definition, that content can be accessed programmatically. In this article, I’ll show you how.

Over the past few years, I’ve scraped dozens of websites — from music blogs and fashion retailers to the USPTO and undocumented JSON endpoints I found by inspecting network traffic in my browser.

There are some tricks that site owners will use to thwart this type of access — which we’ll dive into later — but they almost all have simple work-arounds.

Why You Should Scrape

But first we’ll start with some great reasons why you should consider web scraping first, before you start looking for APIs or RSS feeds or other, more traditional forms of structured data.

Websites are More Important Than APIs

The biggest one is that site owners generally care way more about maintaining their public-facing visitor website than they do about their structured data feeds.

We’ve seen it very publicly with Twitter clamping down on their developer ecosystem, and I’ve seen it multiple times in my projects where APIs change or feeds move without warning.

Sometimes it’s deliberate, but most of the time these sorts of problems happen because no one at the organization really cares or maintains the structured data. If it goes offline or gets horribly mangled, no one really notices.

Whereas if the website goes down or is having issues, that’s a more of an in-your-face, drop-everything-until-this-is-fixed kind of problem, and gets dealt with quickly.

No Rate-Limiting

Another thing to think about is that the concept of rate-limiting is virtually non-existent for public websites.

Aside from the occasional captchas on sign up pages, most businesses generally don’t build a lot of defenses against automated access. I’ve scraped a single site for over 4 hours at a time and not seen any issues.

Unless you’re making concurrent requests, you probably won’t be viewed as a DDOS attack, you’ll just show up as a super-avid visitor in the logs, in case anyone’s looking.

Anonymous Access

There are also fewer ways for the website’s administrators to track your behavior, which can be useful if you want gather data more privately.

With APIs, you often have to register to get a key and then send along that key with every request. But with simple HTTP requests, you’re basically anonymous besides your IP address and cookies, which can be easily spoofed.

The Data’s Already in Your Face

Web scraping is also universally available, as I mentioned earlier. You don’t have to wait for a site to open up an API or even contact anyone at the organization. Just spend some time browsing the site until you find the data you need and figure out some basic access patterns — which we’ll talk about next.

Let’s Get to Scraping

So you’ve decided you want to dive in and start grabbing data like a true hacker. Awesome.

Just like reading API docs, it takes a bit of work up front to figure out how the data is structured and how you can access it. Unlike APIs however, there’s really no documentation so you have to be a little clever about it.

I’ll share some of the tips I’ve learned along the way.

Fetching the Data

So the first thing you’re going to need to do is fetch the data. You’ll need to start by finding your “endpoints” — the URL or URLs that return the data you need.

If you know you need your information organized in a certain way — or only need a specific subset of it — you can browse through the site using their navigation. Pay attention to the URLs and how they change as you click between sections and drill down into sub-sections.

The other option for getting started is to go straight to the site’s search functionality. Try typing in a few different terms and again, pay attention to the URL and how it changes depending on what you search for. You’ll probably see a GET parameter like q= that always changes based on you search term.

Try removing other unnecessary GET parameters from the URL, until you’re left with only the ones you need to load your data. Make sure that there’s always a beginning ? to start the query string and a & between each key/value pair.

Dealing with Pagination

At this point, you should be starting to see the data you want access to, but there’s usually some sort of pagination issue keeping you from seeing all of it at once. Most regular APIs do this as well, to keep single requests from slamming the database.

Usually, clicking to page 2 adds some sort of offset= parameter to the URL, which is usually either the page number or else the number of items displayed on the page. Try changing this to some really high number and see what response you get when you “fall off the end” of the data.

With this information, you can now iterate over every page of results, incrementing the offset parameter as necessary, until you hit that “end of data” condition.

The other thing you can try doing is changing the “Display X Per Page” which most pagination UIs now have. Again, look for a new GET parameter to be appended to the URL which indicates how many items are on the page.

Try setting this to some arbitrarily large number to see if the server will return all the information you need in a single request. Sometimes there’ll be some limits enforced server-side that you can’t get around by tampering with this, but it’s still worth a shot since it can cut down on the number of pages you must paginate through to get all the data you need.

AJAX Isn’t That Bad!

Sometimes people see web pages with URL fragments # and AJAX content loading and think a site can’t be scraped. On the contrary! If a site is using AJAX to load the data, that probably makes it even easier to pull the information you need.

The AJAX response is probably coming back in some nicely-structured way (probably JSON!) in order to be rendered on the page with Javscript.

All you have to do is pull up the network tab in Web Inspector or Firebug and look through the XHR requests for the ones that seem to be pulling in your data.

Once you find it, you can leave the crufty HTML behind and focus instead on this endpoint, which is essentially an undocumented API.

(Un)structured Data?

Now that you’ve figured out how to get the data you need from the server, the somewhat tricky part is getting the data you need out of the page’s markup.

Use CSS Hooks

In my experience, this is usually straightforward since most web designers litter the markup with tons of classes and ids to provide hooks for their CSS.

You can piggyback on these to jump to the parts of the markup that contain the data you need.

Just right click on a section of information you need and pull up the Web Inspector or Firebug to look at it. Zoom up and down through the DOM tree until you find the outermost <div> around the item you want.

This <div> should be the outer wrapper around a single item you want access to. It probably has some class attribute which you can use to easily pull out all of the other wrapper elements on the page. You can then iterate over these just as you would iterate over the items returned by an API response.

A note here though: the DOM tree that is presented by the inspector isn’t always the same as the DOM tree represented by the HTML sent back by the website. It’s possible that the DOM you see in the inspector has been modified by Javascript — or sometime even the browser, if it’s in quirks mode.

Once you find the right node in the DOM tree, you should always view the source of the page (“right click” > “View Source”) to make sure the elements you need are actually showing up in the raw HTML.

This issue has caused me a number of head-scratchers.

Get a Good HTML Parsing Library

It is probably a horrible idea to try parsing the HTML of the page as a long string (although there are times I’ve needed to fall back on that). Spend some time doing research for a good HTML parsing library in your language of choice.

Most of the code I write is in Python, and I love BeautifulSoup for its error handling and super-simple API. I also love its motto:

    You didn’t write that awful page. You’re just trying to get some data out of it. Beautiful Soup is here to help. :)

You’re going to have a bad time if you try to use an XML parser since most websites out there don’t actually validate as properly formed XML (sorry XHTML!) and will give you a ton of errors.

A good library will read in the HTML that you pull in using some HTTP library (hat tip to the Requests library if you’re writing Python) and turn it into an object that you can traverse and iterate over to your heart’s content, similar to a JSON object.

Some Traps To Know About

I should mention that some websites explicitly prohibit the use of automated scraping, so it’s a good idea to read your target site’s Terms of Use to see if you’re going to make anyone upset by scraping.

For two-thirds of the website I’ve scraped, the above steps are all you need. Just fire off a request to your “endpoint” and parse the returned data.

But sometimes, you’ll find that the response you get when scraping isn’t what you saw when you visited the site yourself.

When In Doubt, Spoof Headers

Some websites require that your User Agent string is set to something they allow, or you need to set certain cookies or other headers in order to get a proper response.

Depending on the HTTP library you’re using to make requests, this is usually pretty straightforward. I just browse the site in my web browser and then grab all of the headers that my browser is automatically sending. Then I put those in a dictionary and send them along with my request.

Note that this might mean grabbing some login or other session cookie, which might identify you and make your scraping less anonymous. It’s up to you how serious of a risk that is.

Content Behind A Login

Sometimes you might need to create an account and login to access the information you need. If you have a good HTTP library that handles logins and automatically sending session cookies (did I mention how awesome Requests is?), then you just need your scraper login before it gets to work.

Note that this obviously makes you totally non-anonymous to the third party website so all of your scraping behavior is probably pretty easy to trace back to you if anyone on their side cared to look.

Rate Limiting

I’ve never actually run into this issue myself, although I did have to plan for it one time. I was using a web service that had a strict rate limit that I knew I’d exceed fairly quickly.

Since the third party service conducted rate-limiting based on IP address (stated in their docs), my solution was to put the code that hit their service into some client-side Javascript, and then send the results back to my server from each of the clients.

This way, the requests would appear to come from thousands of different places, since each client would presumably have their own unique IP address, and none of them would individually be going over the rate limit.

Depending on your application, this could work for you.

Poorly Formed Markup

Sadly, this is the one condition that there really is no cure for. If the markup doesn’t come close to validating, then the site is not only keeping you out, but also serving a degraded browsing experience to all of their visitors.

It’s worth digging into your HTML parsing library to see if there’s any setting for error tolerance. Sometimes this can help.

If not, you can always try falling back on treating the entire HTML document as a long string and do all of your parsing as string splitting or — God forbid — a giant regex.

—

Well there’s 2000 words to get you started on web scraping. Hopefully I’ve convinced you that it’s actually a legitimate way of collecting data.

It’s a real hacker challenge to read through some HTML soup and look for patterns and structure in the markup in order to pull out the data you need. It usually doesn’t take much longer than reading some API docs and getting up to speed with a client. Plus it’s way more fun!

Source: https://blog.hartleybrody.com/web-scraping/

Monday, 26 January 2015

Internet Data Mining - How Does it Help Businesses?

Internet has become an indispensable medium for people to conduct different types of businesses and transactions too. This has given rise to the employment of different internet data mining tools and strategies so that they could better their main purpose of existence on the internet platform and also increase their customer base manifold.

Internet data-mining encompasses various processes of collecting and summarizing different data from various websites or webpage contents or make use of different login procedures so that they could identify various patterns. With the help of internet data-mining it becomes extremely easy to spot a potential competitor, pep up the customer support service on the website and make it more customers oriented.

There are different types of internet data_mining techniques which include content, usage and structure mining. Content mining focuses more on the subject matter that is present on a website which includes the video, audio, images and text. Usage mining focuses on a process where the servers report the aspects accessed by users through the server access logs. This data helps in creating an effective and an efficient website structure. Structure mining focuses on the nature of connection of the websites. This is effective in finding out the similarities between various websites.

Also known as web data_mining, with the aid of the tools and the techniques, one can predict the potential growth in a selective market regarding a specific product. Data gathering has never been so easy and one could make use of a variety of tools to gather data and that too in simpler methods. With the help of the data mining tools, screen scraping, web harvesting and web crawling have become very easy and requisite data can be put readily into a usable style and format. Gathering data from anywhere in the web has become as simple as saying 1-2-3. Internet data-mining tools therefore are effective predictors of the future trends that the business might take.

If you are interested to know something more on Web Data Mining and other details, you are welcome to the Screen Scraping Technology site.

Source: http://ezinearticles.com/?Internet-Data-Mining---How-Does-it-Help-Businesses?&id=3860679

Sunday, 11 January 2015

The A B C D of Data Mining Services

If you are very new to the term 'data mining', let the meaning be explained to you. It is form of back office support services that are being offered by many call centers to analyze data from numerous resources and amalgamate them for some useful task. The business establishments in the present generation need to develop a strategy that helps them to cooperate with the market trends and allow them to perform well. The process of data mining is actually the retrieval process of essential and informative data that helps an organization to analyze the business perspectives and can further generate better interests in cutting cost, developing revenue and to acquire valuable data on business services/products.

It is a powerful analytical tool that permits the user to customize a wide range of data in different formats and categories as per their necessity. The data mining process is an integral part of a business plan for companies that need to undertake a diverse research on the customer building process. These analytical skills are generally performed by skilled industrial experts who assist the firms to accelerate their growth through the critical business activities. With a vast applicability in the present time, the back office support services with the data mining process is helping the businesses in understanding and predicting valuable information. Some of them include:

•    Profiles of customers
•    Customer buying behavior
•    Customer buying trends
•    Industry analysis

For a layman it is somewhat the process of processing some statistical data or methods. These processes are implemented with some specific tools that preform the following:

•    Automated model scoring
•    Business templates
•    Computing target columns
•    Database integration
•    Exporting models to other applications
•    Incorporating financial information

There are some benefits of Data Mining. Few of them are as follows:

•    To understand the requirements of the customers which can help in efficient planning.
•    Helps in minimizing risk and improve ROI.
•    Generate more business and target the relevant market.
•    Risk free outsourcing experience
•    Provide data access to business analysts
•    A better understanding of the demand supply graph
•    Improve profitability by detect unusual pattern in sales, claims, transactions
•    To cut down the expenses of Direct Marketing

Data mining is generally a part of the offshore back office services and outsourced to business establishments that require diverse data base on customers and their particular approach towards any service or product. For example banks, telecommunication companies, insurance companies, etc. require huge data base to promote their new policies. If you represent a similar company that needs appropriate data mining process then it is better that you outsource back office support services from a third party and fulfill your business goals with excellent results.

Katie Cardwell works as a senior sales and marketing analyst for a multinational call center company, based in United States of America. She takes care of all the business operations and analysis the back office support services that power an organization. Her extensive knowledge and expertise on Non -voice call center services such as Data Mining Services, Back office support services, etc, have helped many business players to stand with a straight spine and thus making a foothold in the data processing industry.

Source:http://ezinearticles.com/?The-A-B-C-D-of-Data-Mining-Services&id=6503339

Friday, 9 January 2015

What Are Product Upload Services?

If you are busy running your business and you don't get time to sit at the computer all day monitoring every change in your online marketplace account, then you can avail product upload services. It helps you to Shape your business more efficiently with the help of experienced and skilled staffs.

Outsourcing your product data entry task to market place management services is reasonable, confirms quality and correct and confidential services. Outsourcing services helps to handle small as well as large product data entry task, which very hard to manage.

It helps to make to your business successful, it is important to update your store regularly, with latest products. However, for the business owners, it is very hard for him to focus on product uploading as it requires time and care of the Store. This is why product uploading and management services come handy for the online businesses that use market place.

For an online retailer, it is important to understand that if your items are listed on larger shopping portals, you can get benefit from a large mass of Internet sales which will boost your business. Amazon and ebay has millions of customers and once your products get uploaded on Amazon and eBay, you get a remarkable chance to increase sales successfully. There are thousands of retailers trying to sell their products on this portal; and hence getting your products noticed by your target customers on Amazon is quite challenging.

There are hundreds of shopping customers already visiting Amazon,eBay and other commercial websites, the aim of any online retailer is to efficiently distribute their products across these multiple online channels. Marketplace management services are designed to drive consumers to your products and convert those consumers into customers for your business. They can help you achieve quality publicity as an online retailer by using highly refined integration techniques. Now let's understand two major market place Amazon and eBay.

Amazon data entry services are very important for any company or business that wants to sell its products online. It is because Internet has developed and changed the way people do their shopping. Nowadays, many people are reading product information from their home. This has made online marketing very easy and important. Still, for any company to succeed in online marketing it need to have quality. Amazon marketplace management service helps online retailers launch and manage their products on Amazon in the best way to help them gain an impressive online presence. Here you can upload your product information, image, price etc.

eBay data entry services are as same as Amazon; it's for business that wants to sell its products online. This is because Internet has developed and change the way people do their shopping. These services can help you with one of the most time-consuming yet most essential eBay listing services. It includes both online as well as offline eBay product entry on eBay store to manage your small and large eBay items. And you can also do the eBay product data entry from your paper catalogues, PDF catalogues, supplier's or manufacturer's web addresses.

Get in touch with Data Entry India to get effective product upload services, we can help you to gain a remarkable online presence, listing and managing your products on all prominent marketplaces like amazon data entry services & eBay data entry services of your choice.

Source:http://ezinearticles.com/?What-Are-Product-Upload-Services?&id=7310546

Tuesday, 6 January 2015

Amazon Plugin - An Effective Tool For Making Automated Tasks For Your Blog Easier

One of the principle instruments for increasing leverage of internet marketing and thereby increasing one's visibility on the internet is blogging. It is really an effective medium for reaching out to a multitude of people across the globe. For creating one's ubiquitous presence on the internet, one can optimally use the various software available for free hosting, templates for graphic design purpose and last but not the least, free plug-ins. For securing higher rankings in the major search engines, the word press blog is very effective as it is convenient for the purpose of promotion and monetization. With the aid of an Amazon plugin many functions can be performed automatically. These include article posting, setting up of links for affiliate programs as well as the AdSense program run by Google.

In this day and age, some plugins are present which are very basic in nature and easy to install. They can be installed very conveniently within just a few minutes. As a matter of fact, the Amazon plugins are little scripts, which run to automate the various processes that are crucial for an internet marketer. You do not need to manually post content and relevant articles or perform separate search engine optimization. A host of other functionalities are also addressed like extraction of content through the RSS feeds, submission and creation of site maps, which are again considered to be highly SEO friendly. Social media is turning out to be a very powerful and niche segment and many seasoned internet marketers are trying to exploit the possibilities in this field.

Once a person has access to the admin panel there are separate menus which are visible. Over there from the plugins menu there would be an option for adding a new plugin. Once reaching over here, there are a variety of plugins available each customized according to your specific demands and requirements. One can be an affiliate marketer with eBay, Google or Amazon. Accordingly the plugins are present which in an automatic manner attach the contents and the links with your unique affiliate id. For Amazon, there are the Amazon plugins available which are free and easy to use. There are Autoposters available both in the free version as well as the premium version. These are powerful and high utility tools, which provide users the flexibility to posts products from Amazon and also earn big money with the help of Amazon's affiliate marketing program.

Furthermore, plugins are available for the purpose of SEO, for creating sitemaps using XML, for posting on Facebook or Twitter and a host of other functions. Using the amazing open-source technology one can get access to numerous Wordpress plugins. If you are an affiliate marketer for Amazon then simply search for Amazon in the directory of the plugins. If you carry out your part of research, then you will definitely find a suitable plugin for your blog. However, before selection you are advised to check the ratings for the plugins -- a minimum of four stars signify that the plugin is effective and will give you the desired results. Never settle for a rating below four. Be careful about the terms and conditions of use as many times your affiliate id might not populate effectively and then the entire effort goes in vain. Such a scenario is though unlikely to happen in the case of an Amazon plugin.

The Amazon plugins help you to make reviews regarding Amazon products within just a few minutes. The Amazon Wordpress plugins have the capability to add related Amazon products and their reviews within a brief span of time and in bulk. Flexible HTML templates are used to modify data according to the segment of users based on geographical locations and demographic setup.

Source:http://ezinearticles.com/?Amazon-Plugin---An-Effective-Tool-For-Making-Automated-Tasks-For-Your-Blog-Easier&id=3192676

Thursday, 1 January 2015

The Manifold Advantages Of Investing In An Efficient Web Scraping Service

Bitrake is an extremely professional and effective online data mining service that would enable you to combine content from several webpages in a very quick and convenient method and deliver the content in any structure you may desire in the most accurate manner. Web scraping may be referred as web harvesting or data scraping a website and is the special method of extracting and assembling details from various websites with the help from web scraping tool along with web scraping software. It is also connected to web indexing that indexes details on the online web scraper utilizing bot (web scraping tool).

The dissimilarity is that web scraping is actually focused on obtaining unstructured details from diverse resources into a planned arrangement that can be utilized and saved, for instance a database or worksheet. Frequent services that utilize online web scraper are price-comparison sites or diverse kinds of mash-up websites. The most fundamental method for obtaining details from diverse resources is individual copy-paste. Nevertheless, the objective with Bitrake is to create an effective web scraping software to the last element. Other methods comprise DOM parsing, upright aggregation platforms and even HTML parses. Web scraping might be in opposition to the conditions of usage of some sites. The enforceability of the terms is uncertain.

While complete replication of original content will in numerous cases is prohibited, in the United States, court ruled in Feist Publications v Rural Telephone Service that replication details is permissible. Bitrate service allows you to obtain specific details from the net without technical information; you just need to send the explanation of your explicit requirements by email and Bitrate will set everything up for you. The latest self-service is formatted through your preferred web browser and formation needs only necessary facts of either Ruby or Javascript. The main constituent of this web scraping tool is a thoughtfully made crawler that is very quick and simple to arrange. The web scraping software permits the users to identify domains, crawling tempo, filters and preparation making it extremely flexible. Every web page brought by the crawler is effectively processed by a draft that is accountable for extracting and arranging the essential content. Data scraping a website is configured with UI, and in
the full-featured package this will be easily completed by Bitrake. However, Bitrake has two vital capabilities, which are:

- Data mining from sites to a planned custom-format (web scraping tool)

- Real-time assessment details on the internet.

Source:http://www.articlesbase.com/software-articles/the-manifold-advantages-of-investing-in-an-efficient-web-scraping-service-5309569.html