diff --git a/inxep.py b/inxep.py index 2f1e2093..51ece076 100755 --- a/inxep.py +++ b/inxep.py @@ -52,14 +52,16 @@ def getText(nodelist): thisText = thisText + node.data return thisText -# READ IN ARGS: -# -# 1. XEP filename (sans extension) +# READ in XEP filename (sans extension) xepname = sys.argv[1]; xepfile = xepname + '.xml' +inboxpath=/var/www/vhosts/xmpp.org/extensions/inbox +xsltproc xep.xsl $xepfile > $inboxpath/$xepname.html +cp $xepfile.xml $xeppath/ + # PARSE XEP HEADERS: # # - title