|
|
 |
Select the Releases
Once you have chosen the results.php
script for linking a list of titles of news release articles, you
need to specify in the script which sets of releases you want to
serve.
You will need to create a URL link on your page to the script with
the arguements for selecting sets of releases. To create a link
that performs this function, open up the page on your website with
whatever page editing software you use. The illustrations in these
steps assume the use of Dreamweaver MX. Create a link with the URL
detailed in the following steps:
Specify which
script you are using. In this case, you will be using
results.php.
Type http://www.bu.edu/phpbin/news/releases/results.php?
in as the URL for the link you are making.
- Select the set or sets of releases you want to display.
Here you append to the URL you are making which sets of release
you want to select. As mentioned, if you select more than one,
this narrows the selection.
Type in the arguements as parsed below. If you are using several,
seperate each arguement with an ampersand (&).
-
Specifying a
School or College
Add college=***, substituting the *** with the three-letter
college code. For a complete list of these codes, refer to the
College Codes page.
Specifying a
Catagory
Add catagory= *****, substiuting the ***** with
the catagory code. For a complete list of these codes, refer
to the Catagory Codes page.
Specifying a
Year
Add year=****, substituting the **** with the
four-number year.
Specifying a
Month
Add month=**, substituting the ** with the number
of the month (i.e. January is 1, December is 12)
Specifying a
Keyword
Add release_body= *****, substituting *****
with a keyword you want search for in the body of the text.
If you need to select multiple keywords, or a phrase, refer
to the Keyword Options page.
You should now have a URL that looks something like one of the following:
http://www.bu.edu/phpbin/news/releases/results.php? college=YOURSCHOOL
http://www.bu.edu/phpbin/news/releases/results.php? college=YOURSCHOOL&year=YEAR
http://www.bu.edu/phpbin/news/releases/results.php? catagory=CATAGORY&release_body=KEYWORD
Now, proceed to Select the Design to
finish your link by telling the script to use your design.
|