Menu

#20 enhancement to identify unread Yahoo messages

closed
nobody
None
5
2005-12-05
2005-08-20
No

Not quite understanding the (non-)greediness of the regular
expression engine and whether matchall() does multiline regular
expression matching by default, but in any case, in yahoo.script's
getMessageIds(), I think it is possible to do the following to identify
the read/unread (called old/new by Yahoo! Mail) status of messages.

message_status_pattern = "<tr class=msg([^>]{3,3})>"
numfound, msgs1[].message_status = matchall( page,
message_status_pattern )

I'm looking at hotmail.script and juno.script for ideas about howt to
use this information to provide the "Unread only" option for Yahoo!
Mail.

Discussion

  • Martin Vlcek

    Martin Vlcek - 2005-11-20
    • status: open --> pending
     
  • Martin Vlcek

    Martin Vlcek - 2005-11-20

    Logged In: YES
    user_id=1020004

    match/matchall do multiline matching, i.e. "." will also
    refer to any character including newline. Matching is
    greedy, ".*" will match as many characters as possible, to
    be non-greedy, i.e. match as few characters as possible, use
    ".*?"

    Have you successfully patched the script to get only unread
    messages?

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.