home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.bbs.mystic      Mystic Sysops are mystical nerds...      11,842 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,384 of 11,842   
   Jay Harris to Edmund Wong   
   Re: message base & python   
   07 Dec 21 07:52:21   
   
   From: nospam.Jay.Harris@f664.n229.z1.fidonet.org   
      
   On 07 Dec 2021, Edmund Wong said the following...   
      
    EW> Does anyone know if it's possible to use a system-binary python   
    EW> to post messages directly into the Mystic message base?  I'm hoping   
    EW> to create a script to post messages directly to a local message   
    EW> base.   
      
   I don't know about python, but you can use mutil to post messages to any base   
   you like.   
      
   [ --- begin weather.ini --- ]   
   [General]   
           PostTextFiles = true   
           logfile = mutil.log   
           logcache = true   
           loglevel = 2   
           logtype = 1   
           maxlogfiles = 3   
           maxlogsize = 1000   
      
   [PostTextFiles]   
           totalfiles = 3   
      
           file1_name    = /tmp/weather.txt   
           file1_baseidx = 29   
           file1_from    = Northern Realms   
           file1_to      = All   
           file1_subj    = Southern Ontario Weather   
           file1_addr    = 21:3/110   
           file1_delfile = false   
   [...]   
   [ --- end weather.ini --- ]   
      
   In this example I use a script to fetch the weather and put it into a text file   
   (/tmp/weather.txt).  The baseidx is the index number of the message base you   
   want to post to.  Fill out the other details and then just run ./mutil   
   weather.ini and your message is posted.   
      
      
   Jay   
      
   ... When the cows are sleeping in the field, it's pasture bed!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca