- Joined
- Apr 3, 2002
- Location
- Bloomington, IN
Hi, everybody.
I'm trying to do some last cleaning up on the following php page I wrote:
http://www.math.uci.edu/~pmacklin/Publications.php
This URL parses an XML file of publications:
http://www.math.uci.edu/~pmacklin/Publications.xml
It inserts DOI (digital object identifier), BibTeX (bibliography for LaTeX), PDF, and abstract links when the information is defined for a publication entry.
My problem is on the abstract portion. Right now, I just have links of the form
That passes the abstract and title information over to a very simple abstract.php page, which pastes the appropriate text in the appropriate places. (Just try clicking one.) It uses
to get the info from the URL for the page.
Okay, so there's the background information. Now, for the question:
Is there any way to get rid of all the mess in the URL, perhaps by using a hidden form? I'd still like it to appear as a simple HTML text link on the Publications.php page. Please excuse my noobiness on PHP--I'm fairly amateur at PHP. I'm still tickled pink just to have written a simple and robust XML parser with objects for PublicationItems, etc.
Thanks in advance for any recommendations!! -- Paul
I'm trying to do some last cleaning up on the following php page I wrote:
http://www.math.uci.edu/~pmacklin/Publications.php
This URL parses an XML file of publications:
http://www.math.uci.edu/~pmacklin/Publications.xml
It inserts DOI (digital object identifier), BibTeX (bibliography for LaTeX), PDF, and abstract links when the information is defined for a publication entry.
My problem is on the abstract portion. Right now, I just have links of the form
Code:
<a href="php_functions/abstract.php?Abstract=<string>&Title=<string>">[Abstract]</a>
That passes the abstract and title information over to a very simple abstract.php page, which pastes the appropriate text in the appropriate places. (Just try clicking one.) It uses
Code:
$abstract = $_GET['Abstract'];
$title = $_GET['Title'];
Okay, so there's the background information. Now, for the question:
Is there any way to get rid of all the mess in the URL, perhaps by using a hidden form? I'd still like it to appear as a simple HTML text link on the Publications.php page. Please excuse my noobiness on PHP--I'm fairly amateur at PHP. I'm still tickled pink just to have written a simple and robust XML parser with objects for PublicationItems, etc.
Thanks in advance for any recommendations!! -- Paul