Variables in PageKit

  • I'm looking for a simple way to replace "https://www.domain-name.com" part in the PageKit sites frontpage that has an iframe with something like $domain-name variable so that I can simply copy the whole site to other domains with "rsync -a" like https://www.domain-name1.com/ or https://www.domain-name2.com/ without having to manually modify the links in pagekit.db. I have over 100 family name sites up all ready and modifying the domain address's in PageKit is becoming quite a chore.

    Modifying pagekit.db with sed is problematic since it's a binary file and every link has to be exactly the same length.

    Any idea how to use variables in PageKit?

    Can I define something like this on the front page...


    domain-name=/var/www/server-ip/web/domain-name001.php

    <iframe src="https://$domain-name" width="768" height="768"></iframe>


    Sam