
zakcoop
User
Feb 28, 2004, 4:05 AM
Post #22 of 54
(20329 views)
Shortcut
|
|
Re: [Cliff] Publishcron 1.0 for Article Manager
[In reply to]
|
Can't Post
|
|
Cliff, Thank you for such a quick response - appreciated! I'm not sure you answered the full question? I have been using publishcron.pl successfully for about 2 months now within our prototype to generate html files that are pulled into the flash files (see: www.hga.com/prototype), however, when I said "on the fly" I meant truly "on the fly." I noticed pabloho's posting that simply appends the ?page= ... onto the end of the publishcron.pl URL, however all that does is call a previously coded function within the publishcron.ini file. That doesn't build a new query on the fly. I am looking to actually pass the full query to publishcron.pl within the URL so that I can grab the variables from a Flash form and simply call the URL to have it write the results to html on the fly. I think you see why this is necessary since I can't possibly anticipate the millions of possible searches that someone would create by hardcoding "page1, page2, page3" into the publishcron.ini file, then call those upon searching. I really just need to know if it's possible to truly use publishcronn on the fly via a URL string. And, if so, what is the URL format I should use. For instance, if I used a format like the following could I paste this into a browser and, whala!, have a "search_results.html" file generated on the server with the search results?: http://www.mydomain.com/cgi-bin/artman/exec/publishcron.pl?page=../../searchtemp/search_results.html&search=1&cat=1&perpage=1&start=1&template=search/custom_search_results.html&perpage=8 thanks so much, Aaron
(This post was edited by zakcoop on Feb 28, 2004, 4:09 AM)
|