diff --git a/README.md b/README.md index be6f63d297..19108f426e 100644 --- a/README.md +++ b/README.md @@ -977,7 +977,20 @@ Add this to `package.json`, after *name* and *version*. This is necessary becaus -TODO: Will be added soon. +- Login to [Windows Azure Management Portal](http://manage.windowsazure.com/) +- Click the **+ NEW** button on the bottom left of the portal +- Click **WEB SITE**, then **QUICK CREATE** +- Enter a name for **URL** and select the datacenter **REGION** for your web site +- Click on **CREATE WEB SITE** button +- Once the web site status changes to *Running*, click on the name of the web site to access the Dashboard +- At the bottom right of the Quickstart page, select **Set up a deployment from source control** +- Select **Local Git repository** from the list, and then click the arrow +- To enable Git publishing, Azure will ask you to create a user name and password +- Once the Git repository is ready, you will be presented with a **GIT URL** +- Inside your *Hackathon Starter* directory, run `git remote add azure [Azure Git URL]` +- To push your changes simply run `git push azure master` + - **Note:** *You will be prompted for the password you created earlier* +- On **Deployments** tab of your Windows Azure Web Site, you will see the deployment history TODO ---- diff --git a/controllers/api.js b/controllers/api.js index 87bdf7209e..99a63fdddb 100644 --- a/controllers/api.js +++ b/controllers/api.js @@ -123,7 +123,7 @@ exports.getScraping = function(req, res, next) { if (err) return next(err); var $ = cheerio.load(body); var links = []; - $('.title a').each(function() { + $(".title a[href^='http'], a[href^='https']").each(function() { links.push($(this)); }); res.render('api/scraping', {