Code Monkey home page Code Monkey logo

Comments (10)

nattofriends avatar nattofriends commented on September 26, 2024

Just kill #1 and replace with this if last post updated date <= N days, N =
3.

2015-09-04 15:48 GMT-07:00 Matthew McAllister [email protected]:

This may or may not be tricky, but even getting only the headlines from
the status blog would be really valuable. We want everyone to be well aware
what's happening when there's a security alert or a service goes down.


Reply to this email directly or view it on GitHub
#19.

from ocfweb.

chriskuehl avatar chriskuehl commented on September 26, 2024

who wants to parse xml

from ocfweb.

chriskuehl avatar chriskuehl commented on September 26, 2024

I think we could drop #15 if we do this

from ocfweb.

nattofriends avatar nattofriends commented on September 26, 2024

Throw xpath at the problem

[install lxml]

>>> from lxml import etree
>>> tree = etree.parse("http://status.ocf.berkeley.edu/feeds/posts/default")
>>> tree.xpath("//atom:entry[1]/atom:title", namespaces={'atom': 'http://www.w3.org/2005/Atom'})[0].text
'Removing automatic redirects from www.ocf.b.e/user -> www.ocf.b.e/~user'

2015-09-04 18:47 GMT-07:00 Chris Kuehl [email protected]:

I think we could drop #15 #15 if we
do this


Reply to this email directly or view it on GitHub
#19 (comment).

from ocfweb.

chriskuehl avatar chriskuehl commented on September 26, 2024

amazing

from ocfweb.

chriskuehl avatar chriskuehl commented on September 26, 2024

added parsing in 409a0ca, need to figure out how we want to display it

from ocfweb.

chriskuehl avatar chriskuehl commented on September 26, 2024

ok, I think I finally found a decent way to display this:

I'm pushing now and closing this issue, but comments are welcome.

from ocfweb.

chriskuehl avatar chriskuehl commented on September 26, 2024

b70c37f

from ocfweb.

kpengboy avatar kpengboy commented on September 26, 2024

Maybe don't display messages older than a certain age (e.g. 1 month)? In the screenshot posted for example, the fact that there was downtime 1 month ago is not terribly useful.

from ocfweb.

chriskuehl avatar chriskuehl commented on September 26, 2024

that was intentional; originally it did, but it wasn't very useful and looked funky.

from ocfweb.

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.