finalprogramme

Gmail filter XML

Sep 1st, 2020
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.57 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
  3.   <title>Mail Filters</title>
  4.  
  5.   <!-- In this XML file, everything in ALLCAPS is a variable; substitute your own labels etc. as appropriate. -->
  6.  
  7.   <!-- Basic filtering: applying a label for your character's name. Your character's default email address should be the tagged version of your email address. Example: if your email address is [email protected], the default email for your character Bob could be [email protected].  -->
  8.  
  9.   <entry>
  10.     <category term='filter'></category>
  11.     <title>Character label</title>
  12.     <content></content>
  13.     <apps:property name='to' value='[email protected]'/>
  14.     <apps:property name='label' value='CHARACTER_NAME'/>
  15.   </entry>
  16.  
  17.  
  18.   <!-- Basic filtering 2: tag comments by game. Keep the "OR".  -->
  19.  
  20.   <entry>
  21.     <category term='filter'></category>
  22.     <title>Game label</title>
  23.     <content></content>
  24.     <apps:property name='from' value='[email protected] OR [email protected]'/>
  25.     <apps:property name='subject' value='GAME_MAIN_COMM OR GAME_OOC_COMM OR GAME_OTHER_COMM'/>
  26.     <apps:property name='label' value='GAME_NAME'/>
  27.     <apps:property name='sizeOperator' value='s_sl'/>
  28.     <apps:property name='sizeUnit' value='s_smb'/>
  29.   </entry>
  30.  
  31.  
  32.   <!-- Intermediate filtering: label OOC comments. -->
  33.  
  34.   <entry>
  35.     <category term='filter'></category>
  36.     <title>OOC label</title>
  37.     <content></content>
  38.     <apps:property name='from' value='[email protected] OR [email protected]'/>
  39.     <apps:property name='subject' value='ooc OR GAME_OOC_COMM'/>
  40.     <apps:property name='label' value='OOC'/>
  41.     <apps:property name='sizeOperator' value='s_sl'/>
  42.     <apps:property name='sizeUnit' value='s_smb'/>
  43.   </entry>
  44.  
  45.   <!-- Advanced filtering: tag comments for threads that you are tracking but not necessarily participating in. -->
  46.  
  47.   <entry>
  48.     <category term='filter'></category>
  49.     <title>Mail Filter</title>
  50.     <content></content>
  51.     <apps:property name='from' value='[email protected]'/>
  52.     <apps:property name='subject' value='&quot;Reply to a comment&quot;'/>
  53.     <apps:property name='label' value='tracking'/>
  54.     <apps:property name='sizeOperator' value='s_sl'/>
  55.     <apps:property name='sizeUnit' value='s_smb'/>
  56.   </entry>
  57.  
  58.   <!-- God tier filtering: auto-delete comments posted by one of your own characters on a tracked post or thread. This is VERY important to prevent misfires when replying by email. -->
  59.  
  60.   <!-- For example: your character Bob has posted a log, and your character Carol is posting in a thread on that log. Normally you'd get double-emailed at both Bob and Carol's emails. Setting up this filter correctly will auto-delete the "Reply to a comment" notifications sent to Bob that you would rather reply to as Carol. -->
  61.  
  62.   <!-- The POST_ID variable will be in the subject line of the comment notification: Reply to a comment. [ GAME_COMM - POST_ID ] -->
  63.  
  64.   <entry>
  65.     <category term='filter'></category>
  66.     <title>Mail Filter</title>
  67.     <content></content>
  68.     <apps:property name='from' value='[email protected]'/>
  69.     <apps:property name='to' value='[email protected]'/>
  70.     <apps:property name='subject' value='POST_ID'/>
  71.     <apps:property name='hasTheWord' value='OTHER_CHARACTER_NAME'/>
  72.     <apps:property name='shouldMarkAsRead' value='true'/>
  73.     <apps:property name='shouldTrash' value='true'/>
  74.     <apps:property name='sizeOperator' value='s_sl'/>
  75.     <apps:property name='sizeUnit' value='s_smb'/>
  76.   </entry>
  77. </feed>
Add Comment
Please, Sign In to add comment