Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Well, I think this is mostly already possible. Things aren't well-integrated, but I can see how you'd want to archetecture it. AOL's official AIM client, at least under windows, registers a goim: URL scheme, which you can use to make a hyperlink to an AIM screenname. Consider the same thing, extended to allow for more services, perhaps converse:service/userid, allowing links converse:aim/theorbtwo, converse:icq/1923898, converse:msn/james@rtweb.net, and converse:yahoo/theorbtwo.

That solves the problem of linking to a conversation with the author of an annotation. Now, consider linking to a specified position in the document. That's easy. It's what the # bit in a hyperlink is for (the fragment identifier). OLE supports a concept called "monkiers" for linking to specific points in a document, if it doesn't allow for hash-links then that's a bug, or at least a should-be-easy wishlist. I suspect other similar systems, such as COBRA and XPCOM support a similar concept.

So, you need to get the editor (which already supports annotations) to have a "hand me a link to the current position in the current document". This link needs to be in some sort of standard form, understandable by any editor that handles the document type (handling abigail-ii's objection).

This does require more human interaction then your usecase, but it's more clear how you'd archetecture this solution.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).


In reply to Re: (OT) Collaboration in Context by theorbtwo
in thread (OT) Collaboration in Context by zby

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-05-18 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found