CMS progress – the presenter

It took some time but I now have a fair idea on how the output program should look like:

  • Module to create the HTML <head> part
  • Module to create the HTML <body> part
  • both existing of a number of routines, matching the ‘members’ of that code. For the header, that means creation of lines for the <meta>, <link>, <script> and other tags in there; the body will contain modules for the header, left, middle and right panels, and the footer. First, these may be pretty hard- coded to see if the constructed output is what I expect it to be (in general, there will definitely parts missing that currently show up)may well be extracted form a text library and adapted to need, similar to the reporting routines that are used in the current WGPAGE program. I will use the same basic structure, I guess, at least the library- and sort routines I had created two decades ago, even the basics of the print routines in that code set – or create new ones.
    Since these routines – written win Fortran77 but built using Fortran90 – use VMS’s Virtual memory access methods in their kernel routines, I will use Fortran to create the program; the existing program as a base.

    But when looking into this older (Fortran) code, I found I had started already – in 2008 – in a program to work on blogs, and in general, it matches current idea, most is still very basic, in some cases just the routine. Nor does the code match the current naming convention I used for the RMS IO routines. However, it does contain a number of requirements I may have to decide upon: Getting the parameters to locate the files and the action to be performed. So that might be a far better solution: the code also connects for library access and building the output, as used in the current WGPAGE program that creates the current homepage.
    There is still a lot to work upon, but after some changes, most of the code compiles.

    06-Jun-2021

    More of the usual
    Monthly maintenance showed – again – nothing special. Even mail reports are as expected:

    PMAS statistics for May
    Total messages    :   1532 = 100.0 o/o
    DNS Blacklisted   :      0 =    .0 o/o (Files:  0)
    Relay attempts    :    132 =   8.6 o/o (Files: 31)
    Accepted by PMAS  :   1400 =  91.3 o/o (Files: 31)
      Handled by explicit rule
             Rejected :    576 =  41.1 o/o (processed),  37.5 o/o (all)
             Accepted :    145 =  10.3 o/o (processed),   9.4 o/o (all)
      Handled by content
            Discarded :    250 =  17.8 o/o (processed),  16.3 o/o (all)
         Quarantained :     94 =   6.7 o/o (processed),   6.1 o/o (all)
            Delivered :    335 =  23.9 o/o (processed),  21.8 o/o (all)

    No (exceptional amounts of) relay attempts this month.

    Had my certificates renewed automatically, without a problem. Just not all on the same day anymore, after skipping a few days due to apparent connections issues a few months back. But as long as it works nicely, it is no problem. Good thing renewal is attempted after 60 days (in the program) so there is a 30 day period to recover if something is broken.

    On the content management system
    There as been no real progress on the new blog presenter, introduced some time ago. Getting the blogs show the way they are now, as based of WordPress, is a challenge in itself. It means I have to master both Javascript and jquery to get it working, and it uses scripts of WordPress. Of course, I could copy them into my own environment (shouldn’t be a problem since WP is open-source) but even so – the aim is to be independent of WordPress (or any PHP code). Another feature I would like to use is WASD’s ability of a RuntTimeEngine – similar to PHPWASD (for PHP based code) or PYTRE (for Python code). There is an example program provided in the WASD package, I will probably start with a hardcoded, stripped-down basic version to present the pages and extend this by incorporating bits and pieces of flexibility.
    However, I’m too much involved in a few other things that need to be done as well, outside programming…

    CMS Progress – Presentation research

    Next step in content management is presentation of the data. So I saved the shown page of my current blogs, to review how it is built up; so I can determine how to create my own pages. To be expected, the current page relies on WordPress scripts and naming, so there is need to get this within my own system – when needed.
    As a result of this, I took a look on the links on this blog, some are gone now, most are out-of-date. So I removed a few.

    CMS progress: RMS IO done; Just one thing to determine

    All basic routines for storing and retrieving posts (albeit ‘fixed’, programmed content) work. There is still one thing to determine here: How the posts will be delivered, or in what format is must be written. There could be different versions, so importing from other systems should be similar (in fact, whether the contents is from another system (the old blogger.com, or WordPress based, either direct or via export to XML or CSV files). for this, I have an idea of how to handle this, done something similar in my last job: convert data from different systems into the database of the system itself.
    But first, I’ll have to find a way to present what has been posted. It will be very basic (meaning: static, programmed) for a start, but in the end I plan to make that as dynamic as possible. Again: I do have a basic idea what it should do, and how, the main issue is how to program it….

    04-May-2021

    No surprises on maintenance job
    Not that many mail:

    PMAS statistics for April
    Total messages    :   1553 = 100.0 o/o
    DNS Blacklisted   :      0 =    .0 o/o (Files:  0)
    Relay attempts    :    160 =  10.3 o/o (Files: 30)
    Accepted by PMAS  :   1393 =  89.6 o/o (Files: 30)
      Handled by explicit rule
             Rejected :    657 =  47.1 o/o (processed),  42.3 o/o (all)
             Accepted :    182 =  13.0 o/o (processed),  11.7 o/o (all)
      Handled by content
            Discarded :    302 =  21.6 o/o (processed),  19.4 o/o (all)
         Quarantained :    124 =   8.9 o/o (processed),   7.9 o/o (all)
            Delivered :    128 =   9.1 o/o (processed),   8.2 o/o (all)

    For a change, there have been relay attempts on 11-Apr-2021 – failing (of course) – except the usual test ones: New kid on the block, I haven’t encountered this one before:
    11-APR-2021 23:00:01.87 - 23:08:02.88 (66 times) from address 114.100.122.212 using bogus local account (anything@grootersnet.nl) to user 3123827806@qq.com

    CMS progress
    All IO routines to store post are now working. Now focus is on retrieving post; just getting the post itself is to be done, I can access data to get what post is published most recently. But I need to document the code as well.