TZUTC: 0100   
   MSGID: 57048.sync_sys@1:103/705 2bca65cf   
   REPLY: 57047.sync_sys@1:103/705 2bca65cd   
   PID: Synchronet 3.20a-Linux master/a7b3d2a63 Dec 09 2024 GCC 12.2.0   
   TID: SBBSecho 3.23-Linux master/c33ca5aac Dec 18 2024 GCC 12.2.0   
   BBSID: C3BBS   
   CHRS: CP437 2   
   NOTE: tin/2.6.4-20241128 ("Banff") (Linux/6.12.3-amd64 (x86_64))   
   LaF0rge wrote:   
   > I managed to make it generate a working RSS feed using the following diff,   
   > containing two changes   
      
   Sorry, forgot the diff in the previous message   
      
   --- repo/web/root/rss.ssjs 2024-12-09 12:57:20.024584412 +0000   
   +++ webv4/root/rss.ssjs 2024-12-19 14:12:42.310672917 +0000   
   @@ -10,7 +10,7 @@   
       
    //log(LOG_INFO,"Synchronet RSS " + REVISION);   
       
   -var link_root = "http://" + http_request.header.host + http_req   
   est.request_string;   
   +var link_root = "https://" + http_request.header.host + http_re   
   uest.request_string;   
       
    var ini_fname = file_cfgname(system.ctrl_dir, "rss.ini");   
       
   @@ -172,7 +172,7 @@   
    writeln('\t\t' + last_msg.date + '');   
    }   
    var total_msgs = msgbase.total_msgs;   
   - for(i=0;i' + link_root + (defaults.useentities ?   
   '&' : '&') + 'item=' + hdr.number + '');   
    else // v3.12b   
   - writeln('\t\t\t\t' + 'http://' + http_request.header.host +   
   '/msgs/msg.ssjs?msg_sub=' +    
   - channel.sub + (defaults.useentities ? '&' : '&') +   
   'message=' + hdr.number + '');   
   + writeln('\t\t\t\t' + 'https://' + http_request.header.host   
   + '/?page=001-forum.ssjs&sub=' +    
   + channel.sub + (defaults.useentities ? '&' : '&') +   
   'thread=' + hdr.number + '');   
    writeln('\t\t\t');   
    msgs++;   
    if(msgs>=channel.maxmessages)   
   --    
   - Harald Welte https://laforge.gnumonks.org/   
   ============================================================================   
   "Privacy in residential applications is a desirable marketing option."   
    (ETSI EN 300 175-7 Ch. A6)   
   ---   
    þ Synchronet þ My Brand-New BBS   
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)   
   SEEN-BY: 10/0 1 102/401 103/1 13 17 705 105/81 106/201 124/5016 128/187   
   SEEN-BY: 153/7715 214/22 218/0 1 215 601 700 720 840 860 880 226/30   
   SEEN-BY: 227/114 229/110 114 206 317 400 426 428 550 700 705 266/512   
   SEEN-BY: 280/464 282/1038 291/111 301/1 320/219 322/757 342/200 396/45   
   SEEN-BY: 460/58 633/280 712/848 902/26 5075/35   
   PATH: 103/705 218/700 229/426   
      
|