Closed Thread Icon

Topic awaiting preservation: Anyone worked with implementing tagging in roundcube before? Pages that link to <a href="https://ozoneasylum.com/backlink?for=29476" title="Pages that link to Topic awaiting preservation: Anyone worked with implementing tagging in roundcube before?" rel="nofollow" >Topic awaiting preservation: Anyone worked with implementing tagging in roundcube before?\

 
Author Thread
paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

posted posted 08-25-2007 11:40

Man, this is a weird issue I've run into. I've made a simple tagging functionality which like takes two arguments i.e. the element type tobe tagged and the unique id of the element. THis is so that I can have all my tagged links in one table where I can tag different elements in my program such as contacts, addresses, emails, works, emails etc...

Initially I would use for the email [I'm using roundcube email here] the cache key as the element type parameter and the UID of the mail as the specific id..however I realised that doesn't seem logically right because if someone moves an already tagged email from one mail folder to another - the tag information gets disconnected. Upon further investigation I noticed that whatever you do to any email in roundcube mail.. it deletes the email entry and makes a nerw entry - generating a new incremental id at everytime . Like if I so much as even click on an email in the email list to view a preview - it deletes the email from the db cache and won't make any entry unless I refresh the page or re-sort etc. Apart from the to, from and subject fields there is not a single field that remains consistant throughout...

Can anyone help me on this - I need to get a tagging system fixed up for roundcube email...

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 08-25-2007 13:46

May I direct your attention to the "message-id" field of the RCF 2822 - Internet message format?

That's an id that should pretty much do what you want - but keep in mind that it's not a simple numeric id .

So long,

->Tyberius Prime

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

posted posted 08-26-2007 08:39

Hmm there is a message id in the email headers.. it doesn't look pretty unfortunately though... but is this ID like unique for every single email on the planet.. I mean like isn't there any remote chance that somehow replication could perhaps occur....I want it to be like unique...

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

posted posted 08-26-2007 09:10

buuuuuuuuut.. anyway I think I'll take the chance... apparently the odds of two emails with ethe same ids being delivered on the same date exact same time are almost negligible enough to pass out... GUess I'll have to tweak my app a bit.

Thanks again guys...by the way are there any other parallels to roundcube mail.. i.e. AJAX driven interfaces. I tried Zimbra but it seemed pretty.. outlook like... plus @mail seemed too boring. U won't suppose theres an opensource version of the new Hotmail Live out there somewhere

« BackwardsOnwards »

Show Forum Drop Down Menu