I was thinking of making a new report for this but I feel it is somewhat
related.

I just had a brain wave and felt that another way of supporting
Canonical would be to give product suggestions whilst the user is idle
at the terminal for a certain period of time. Clearly if someone is idle
they're just bored and the helpful suggestions provided by Canonical
would aid them in freeing themselves from bored despair.

I've had a look at the Amazon RSS API and have found that this would be
rather easy to implement.

Periodically bash should call this Python script that I've made (and
will attach) which would randomly select out of 20 suggestions. It'll
provide a title and URL so the user can buy. I'd love to implement a
mechanism where it can be purchased by just clicking on the URL however
it is not possible to implement via RSS.

All Canonical needs to do is substitute the current example user ID with
their own. Feedparser is not included in Ubuntu by default but is part
of the repo with the package name: "python-feedparser - Universal Feed
Parser for Python" for 2.7 and "python3-feedparser - Universal Feed
Parser for Python" for 3.2

** Attachment added: "Python script to parse Amazon RSS and provide helpful 
suggestions"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1055766/+attachment/3428573/+files/amazon.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1055766

Title:
  grep -R doesn't automatically search amazon

To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/1055766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to