Administering POSTS objects
A POSTS object is actually a file that has been uploaded to Obliquid and
is part of a page that gets displayed to the user or is part of the newsletter.
You would normally expect to have more than one object in an item.
But an object can ONLY be in ONE item. There are a number of pieces of
information which are kept about an object.
- Object Name. This is the name of the file the file that got uploaded.
- Object Size. This is the size in bytes of the file that got uploaded.
- Object Type. This indicates the type of the file that got uploaded,
and it also controls what actually is displayed to the user when the item page
is displayed.
-
Type=t. This is a preformatted text file. When this file is
displayed, it will be surrounded by <PRE> and </PRE>. The text will be sent
to the browser "as is" by Obliquid. It will not be executed, even if it is
valid PHP. Note that not all browsers totally ignore formatting and HTML
between the <PRE> and </PRE>. IE 5.5 for example will ignore anything between
a <? until a -> or ?>. So, if you upload php code, you should check to make sure
it displays the way you wanted it to. Or, avoid special characters and HTML
code.
-
Type=h. This is a file with HTML formatting included. It is handled
the same as the "Type=t" files, except that the <PRE> and </PRE> are not
added before and after the file is inserted.
- Type=a. This is an attached file. The filename and the size are
used to create an HTML link on the page that is displayed. When the user
clicks on the link, the standard browser download screen is displayed, and
the user can download the file.
- Type=p. This is an image file. When the file is uploaded, Obliquid
automatically creates a thumbnail image of the file, proportionally scaled
to approximately 100 x 100 pixels. This thumbnail image is shown to the user
when the page is displayed. If the user clicks on the thumbnail, a new popup
window will be opened. The popup window will be as large as the users screen
if necessary, and the brower will be told to scale the image to fit this
screen. If the user then right clicks on the image, the complete image file
will be saved on their PC.
- Type=m. This is a text message for the newsletter.
- Type=l. This is an HTML formatted message for the newsletter. Note
that since an HTML newsletter normally contains images, the references to
these needs to be adjusted because the directory structure will change as
they get uploaded. When you upload an HTML formatted message, Obliquid will
ask for the image directory you used when you created the newsletter. When
Obliquid uploads the HTML file, it goes through and finds all the references
to that directory, and replaces them with the appropiate directory where Obliquid
will store them. If you code complete URLs, then they will not be adjusted.
- type=i. This is an image that is part of the HTML newsletter.
- Location. Each object in an item can be displayed on the left, the
right, or the center part of the viewing page. There is also an option to display
this object on ALL three parts of the viewing page. Default is CENTER.
- Sequence. This is a numeric field which determines in which order this
object will be displayed on the page.
Default is NEXT which generates a number 10 higher than the previous
high sequence field.