• Welcome! The TrekBBS is the number one place to chat about Star Trek with like-minded fans.
    If you are not already a member then please register an account and join in the discussion!

HTML Form Inserter?

Danoz

Rear Admiral
Rear Admiral
I have a menial task to do that involves copying and pasting hundreds of titles, descriptions, dates, urls and durations into various places in an HTML code.

Code:
    <item>
      <title>title of event</title>
      <pubDate>Tue, 29 April 2008 12:00:00 -0400</pubDate>
      <link>mp3 file</link>
      <guid isPermaLink="true">mp3 file</guid>
      <enclosure url="mp3 file" length="" type="audio/mpeg" />
       <itunes:summary><![CDATA[Description]]> </itunes:summary>
              <itunes:duration>00:00:00</itunes:duration>
    </item>
This is the file. What I'd like to do is create a basic form with the following text boxes,

Title (title of event)
Link (mp3 file)
Summary (description)
Duration (00:00:00)

To then copy itself into that code at the respective places. How would I accomplish this? Is there an easy way to create a html/exe that could do this?
 
You (or I) could knock up a program in visual basic in about 10 minutes. :-)

How is the data stored at present? Is it files on a disk that your categorising, or tabulated text in a database, or data that's scribbled on paper?
 
I would normally whip up a Python script for something like this, since it's just reformatting some data.

What do you mean by HTML form, though? You mean an editable form, or you just want the stuff formatted nicely in HTML?
 
If you are not already a member then please register an account and join in the discussion!

Sign up / Register


Back
Top