Adium

Changeset 23070

Show
Ignore:
Timestamp:
04/04/2008 11:17:58 AM (8 months ago)
Author:
evands
Message:

Added linkification of spotify links. Patch by rasmus. Closes #9200

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Frameworks/AIHyperlinks Framework/Source/SHLinkLexer.l

    r22545 r23070  
    4545yahooIMSpec     ymsgr:sendim\?.+ 
    4646rdarSpec        rdar:\/\/(problems?\/)?[0-9]+(&[0-9]+)* 
     47spotifySpec      spotify:(track|album|artist|search|playlist|user|radio):[^<>]+ 
    4748 
    4849 
     
    9394{yahooIMSpec}               {SHStringOffset += SHleng; return SH_URL_VALID;} 
    9495{rdarSpec}                  {SHStringOffset += SHleng; return SH_URL_VALID;} 
     96{spotifySpec}               {SHStringOffset += SHleng; return SH_URL_VALID;} 
    9597 
    9698.                           {return SH_URL_INVALID;}