Giter VIP home page Giter VIP logo

Comments (5)

daithiocrualaoich avatar daithiocrualaoich commented on May 18, 2024

Taking a screenshot of fronts would be a useful editorial tool. It has been spoken of in the past to collect a record of the site.

https://github.com/ariya/phantomjs/wiki/Screen-Capture

from frontend.

mattandrews avatar mattandrews commented on May 18, 2024

Chris Cross did something like this for Editorial, worth asking him first.

On 1 November 2012 11:24, Daithi O Crualaoich [email protected]:

Taking a screenshot of fronts would be a useful editorial tool. It has
been spoken of in the past to collect a record of the site.

https://github.com/ariya/phantomjs/wiki/Screen-Capture


Reply to this email directly or view it on GitHubhttps://github.com//issues/199#issuecomment-9977246.

Matt Andrews (@mattpointblank http://www.twitter.com/mattpointblank)
Web Developer
Guardian News and Media
www.guardian.co.uk

Please consider the environment before printing this email.

Visit guardian.co.uk - website of the year

www.guardian.co.uk www.observer.co.uk www.guardiannews.com

On your mobile, visit m.guardian.co.uk or download the Guardian
iPhone app www.guardian.co.uk/iphone and iPad edition www.guardian.co.uk/iPad

Save up to 37% by subscribing to the Guardian and Observer - choose the papers you want and get full digital access.
Visit guardian.co.uk/subscribe


This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.

Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.

Guardian News & Media Limited

A member of Guardian Media Group plc
Registered Office
PO Box 68164
Kings Place
90 York Way
London
N1P 2AP

Registered in England Number 908396

from frontend.

commuterjoy avatar commuterjoy commented on May 18, 2024

Yup, initially the box is just a nicer, programmable, version of what our current external monitoring solution gives us, but no reason we couldn't add to it. Interestingly phantom lets you control viewport size so you could screen grab and many resolutions.

from frontend.

commuterjoy avatar commuterjoy commented on May 18, 2024

I got https://code.google.com/p/harstorage running from the standard AWS Ubuntu :-

# python
sudo apt-get install lib32stdc++6
sudo apt-get install python
sudo apt-get install python-cairo
sudo apt-get install python-rsvg
sudo apt-get install python-setuptools

# mongo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
sudo echo "deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen" >  /etc/apt/sources.list.d/10gen.list
sudo apt-get update
sudo apt-get install mongodb-10gen

# web app
sudo easy_install pylons==1.0
sudo easy_install pymongo
sudo easy_install webob==1.0.8
wget http://harstorage.googlecode.com/files/harstorage-1.0-py2.7.egg
sudo easy_install harstorage-1.0-py2.7.egg

# conf
paster make-config "harstorage" production.ini
paster setup-app production.ini
sudo paster serve production.ini

... which runs it on port 5000.

Then on some other box,

phantomjs /usr/local/share/phantomjs/examples/netsniff.js http://m.guardian.co.uk > har
curl -X POST -F file=@har http://ec2-xxx.eu-west-1.compute.amazonaws.com:5000/results/upload

from frontend.

commuterjoy avatar commuterjoy commented on May 18, 2024

@phamann did this. It's running in production. Find the har logs in s3.

from frontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.