W3C home > Mailing lists > Public > public-rww@w3.org > November 2011

Re: [foaf-protocols] Bootstrapping the Semantic Inbox

From: Melvin Carvalho <melvincarvalho@gmail.com>
Date: Thu, 10 Nov 2011 11:21:00 +0100
Message-ID: <CAKaEYhLPfYFMYMXHbjUSexF3gAeNexj=0v+rfhgB5Wjg2bsNQA@mail.gmail.com>
To: Andrei Sambra <andrei@fcns.eu>
Cc: public-rww@w3.org
On 10 November 2011 11:02, Andrei Sambra <andrei@fcns.eu> wrote:
> Hi,
>
> What would be the purpose of this semantic inbox? Is it supposed to
> replace email or instant messaging? I'm asking this because I'm curious to
> see if it can be affected by spam, since we all want to avoid spam. :-)

HTTP version of mail.  Read toby's post for some introduction.

But why have yet another messaging system, when we have skype irc mail etc.?

Well since only the people in this group would use this messaging
system, I thought it might be nice to have a channel dedicated to
building read write web.

First it can start simple and get smarter and smarter.

I suggest using semantic inbox for a simple 'semantic' interaction ...
e.g. I can give you feedback on your foaf, your system, protocols
ideas etc.   And slowly we build up technologies.  So feel free to
send me feedback in mine (finding it is an exercise for the reader ;))
... and I'll add requests to my TODO list.

Also, if someone makes enough effort to use a semantic inbox, they are
likely to make the effort to continue interacting.

>
> I was thinking about a different system, more or less similar to real life
> where we can choose to avoid having to deal with "noisy" friends.
>
> Here, one can use the pingback protocol (see Henry's link) for first contact
> (i.e. notify someone that you've befriended them), this way allowing them to
> decide if they will accept or reject further communication from you. Future
> messages from you to them will be stored on your personal space, and your
> friend can see them if he/she subscribes to them like they would to an
> RSS/Atom feed.
>
> This way there will be no unsolicited communication unless people subscribe
> to their friends' message lists.
>
> What do you think?

Pingback can be used for lots of stuff.  This seems like a good idea
in the medium term, but right now there is no spam, so not an issue.

Pingback is on my list of things to implement tho right now i use
http://webid.fcns.eu/notification.php :)

>
> Andrei
>
> P.S. Given this is just an idea, the terms I've used are quite rough.
>
>
> On 11/10/2011 10:10 AM, Melvin Carvalho wrote:
>>
>> On 10 November 2011 09:38, Henry Story<henry.story@bblfish.net>  wrote:
>>>
>>> It may be worth putting up ideas like that that the group wishes to
>>> pursue
>>> on the wiki (I suppose there is one).
>>
>> Yes, all community groups should have a wiki.
>>
>> I've now implemented a basic semantic inbox, linked to my foaf, in
>> about half an hour ... not quite as good as toby's but it at least
>> sends messages to my desktop.   Will improve it over time.
>>
>> Feel free to send me requests and I'll add it to my TODO list!
>>
>>>
>>> The semantic inbox is somewhat similar to the pingback protocol, and
>>> playing
>>> in the same area.
>>>
>>>   http://bblfish.net/tmp/2011/05/09/
>>>
>>> (Btw, would the rww community wish to take on the hosting of the ping
>>> back protocol
>>>  and publish it on your site? We wrote this up for the Berlin Social Web
>>> Conference,
>>>  but I don't think organisers gave themselves enough time to review all
>>> the papers -
>>>  one week to tell the truth )
>>>
>>> Putting on the ping back lenses my first question about the semantic
>>> inbox, is how
>>> does a robot know that it is POSTing to a semantic inbox. Does a GET on
>>> the semantic inbox
>>> have the resource itself describe itself that way?
>>>
>>> Henry
>>>
>>>
>>> On 10 Nov 2011, at 09:26, Melvin Carvalho wrote:
>>>
>>>> FYI: here is the semantic inbox concept.
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Toby Inkster<mail@tobyinkster.co.uk>
>>>> Date: 26 September 2010 11:48
>>>> Subject: [foaf-protocols] Bootstrapping the Semantic Inbox
>>>> To: foaf-protocols<foaf-protocols@lists.foaf-project.org>
>>>>
>>>>
>>>> Melvster brought up the concept of the Semantic Inbox on #swig the
>>>> other day. My semantic inbox would be an HTTP(S) URI that accepted POST
>>>> requests, preferably in semantic formats such as RDF and Atom, and held
>>>> them for me to do something with.
>>>>
>>>> The Semantic Web is, in a way, not a product but a process; not a
>>>> destination but a journey. The goal being to take our existing web and
>>>> make it more meaningful.
>>>>
>>>> The Semantic Inbox I think should be the same, but what should the
>>>> starting point of the Semantic Inbox journey be? I think it should be
>>>> the HTTP inbox. With that in mind, I've written a few quick scripts to
>>>> easily set up an HTTP inbox:
>>>>
>>>> http://goddamn.co.uk/viewvc/misc/php-mods/http-mbox/
>>>>
>>>> This initial implementation just acts as a gateway, forwarding incoming
>>>> messages to a mailbox via SMTP. Copy all the files onto your server,
>>>> and edit mbox.php as appropriate. Feel free to rename mbox.php to
>>>> whatever you want - that's the file that is your Semantic Inbox.
>>>>
>>>> If accessed over HTTPS, the inbox will perform WebID authentication,
>>>> and pick up the sender's email address from their foaf:mbox. The sender
>>>> email address can also be provided explicitly using the HTTP From
>>>> header.
>>>>
>>>> The script calls webid.pl - a Perl implementation of WebID. If you
>>>> don't have Perl and the prerequisite modules installed, then WebID
>>>> support won't work. (I plan on adding support for libAuthentication
>>>> too, but couldn't be bothered to set up MySQL. Coming soon...)
>>>>
>>>> Once you have an HTTP inbox, you should link to it in your FOAF so that
>>>> it can be discovered:
>>>>
>>>>        <http://tobyinkster.co.uk/#i>
>>>>          <http://purl.org/NET/semantic-inbox#mbox>
>>>>            <http://tobyinkster.co.uk/mbox>  .
>>>>
>>>> I encourage people on this list to set themselves up an HTTP inbox.
>>>> Once there are a few people with this set up, we can start to figure
>>>> out what's possible with the technology.
>>>>
>>>> You can send me a message using curl:
>>>>
>>>>        echo 'Hello Toby!' | curl -X POST \
>>>>          -k -E path/to/your/x509/cert.pem \
>>>>          -H 'Content-Type: text/plain' \
>>>>          -d @- \
>>>>          https://tobyinkster.co.uk/mbox
>>>>
>>>> Let's force a From address and Subject line:
>>>>
>>>>        echo 'Hello Toby!' | curl -X POST \
>>>>          -k -E path/to/your/x509/cert.pem \
>>>>          -H 'Content-Type: text/plain' \
>>>>          -H 'From: you@example.net' \
>>>>          -H 'Subject: blah blah blah' \
>>>>          -d @- \
>>>>          https://tobyinkster.co.uk/mbox
>>>>
>>>> Let's do a non-authenticated request:
>>>>
>>>>        echo 'Hello Toby!' | curl -X POST \
>>>>          -H 'Content-Type: text/plain' \
>>>>          -H 'From: you@example.net' \
>>>>          -H 'Subject: blah blah blah' \
>>>>          -d @- \
>>>>          http://tobyinkster.co.uk/mbox
>>>>
>>>> --
>>>> Toby A Inkster
>>>> <mailto:mail@tobyinkster.co.uk>
>>>> <http://tobyinkster.co.uk>
>>>>
>>>> _______________________________________________
>>>> foaf-protocols mailing list
>>>> foaf-protocols@lists.foaf-project.org
>>>> http://lists.foaf-project.org/mailman/listinfo/foaf-protocols
>>>>
>>>
>>> Social Web Architect
>>> http://bblfish.net/
>>>
>>>
>>
>
>
>
Received on Thursday, 10 November 2011 10:21:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 April 2012 12:56:01 GMT