5.4

Table Of Contents
Web Publishing
Configuring Web publishing for iNEWS involves the following:
Setting up Txnet to send Hypertext Markup Language (HTML)
Modifying the default or creating a new HTML export template and putting it into a
queue
After the setup is complete, you can complete the Web publishing process. See “Publishing
iNEWS
Stories to the Web” on page 448 for more information.
Setting up Txnet to Send HTML
To set up txnet to send HTML:
1. Establish Tx links.
See “Network iNEWS Systems Using RX/TX Links” on page 405 for more
informa
tion.
The links (txnet servers) transfer stories between systems. You can send stories to
non-iNEWS systems. The only requirement is that the receiving computer supports File
Transfer Protocol (FTP) so the iNEWS Server can send stories to it.
2. Get the name of the Web server to which you will send the stories and be sure it is listed
in /etc/hosts.
3. Create a valid user account on the Web server.
4. Create that same user account on the iNEWS Server.
n
The Web server and iNEWS Server must have matching logins with matching passwords.
5. Create an entry in the job list for the txnet
server to specify sending stories in HTML
format rather than the standard iNEWS format, which is News Story Markup Language
(NSML).
open <computer name> <user name> HTML [<queue name>] [<story name>]
a. Specify the Web publishing server name as the computer name.
n
The computer name can include a suffix in the form of :<port>. If :<port> is omitted, the
txnet program will use the port defined for the rxnet service in the /etc/services file and if
there is not an rxnet service defined, the txnet program will look up the FTP service in the
/etc/services file. This allows the txnet program to connect to computers that use a different
port for FTP connections.