• Welcome to TodayPlus Boards v2.
 

News:

No news is good news.

Main Menu

Movie Listings

Started by MadTxn, January 02, 2004, 09:50:51 AM

Previous topic - Next topic

MadTxn

Quote from: LawofA
...Secondly, I am not getting any details with the downloads. Is there anything I an not doing right?

What do you mean "details"?  All you should be getting is a listing of movie titles, then clicking on them (depending on your skin), should show a list of theaters with times.  Are you not getting that?  If not, make sure that the theater name is exactly as it shows up in Yahoo, along with the theater's zip code.

joelw135 - I'm pretty sure the script shouldn't take that long.  Even running from my home PC with a 256K upload that's pretty much fully utilized, it doesn't take that long.

joelw135

All I get is the first list of movies , I never get a list of theaters. I know I entered the correct rss address. Only the movies in one theater show.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

joelw135

I uploaded the special script you wrote for the older PHP. I even tried your theaters on my sons server. If I didn't make that the first rss download I couldn't refresh weather. I think it timed out or something.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

MadTxn

I don't know what to tell you about the timeout, but as for the details, you should get the list of movies, as you see, then you should be able to tap the movie name, and get something like the below picture, just imagine for your skin.


joelw135

Found the problem, I reloaded the script to the server, and it now works.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

SacredCow

Quote from: MadTxnWell, changing the command will make the script take longer to run, and will be more memory intensive on the server.  Maybe our fine host would be willing to host the file for a few people.

I will speak for him/her/them and say they've done alot already. :)

I just reqistered movierss.com and moviesrss.com and have them setup on our primary server. Need to wait for the dns to update and we're qood.

Oh and I have to install the script ;)

-SC
I can't believe that we would lie in our graves wonder'n if we spent our living days well

srs

you guys need to be very careful hosting anything that screen scrapes yahoo pages.  Yahoo really dislikes this and they actively look for and take steps against any script / program etc that scrapes their pages.

that said, anything relatively small scale should "fly under the radar" (although I wouldn't be suprised if they caught it...).

Eitel

That's what I haven't offered to host them.  A couple of people using them shouldn't be a problem, but you got a lot of them running the same file, it really get's noticed.

When I put in place the RSS for this site, the bandwidth almost doubled.

srs

you'd think with yahoo being such a large site, they would hardly notice or care about the odd script here or there, but, suprisingly, from what I've read elsewhere, this seems not to be the case.

afaik they haven't taken any really onerous actions, other than perhaps sending a letter / changing the page code so that the scraping no longer works.

LawofA

Quote from: joelw135All I get is the first list of movies , I never get a list of theaters. I know I entered the correct rss address. Only the movies in one theater show.

Hi MadTxn:
I got confused. What I meant by details were actually list of theaters, which I still need help on.

Hi joelw135:

I still cannot get movies in more than one theater to show. Could you please explain to me how to do that?


Thanks.

LawofA

joelw135

After theater1=xxxxx&zip1=xxxxx&theater2=xxxxx&zip2=xxxxx&theater3=xxxxx&zip3=xxxxx

Just follow what I did above put the name of the theater as listed on Yahoo then the zip code you use. It can be all the same zip as you did in Yahoo.

You don't see the other theaters until you click on a movie title.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

fishboy

Quote from: srsyou guys need to be very careful hosting anything that screen scrapes yahoo pages. Yahoo really dislikes this and they actively look for and take steps against any script / program etc that scrapes their pages.

Thanks for the warning.  I don't think the stocks feed script should cause much of a fuss because it is utilizing their already available web page to retrieve a comma delimited list of data for a stock (which can easily be accessed by IE).  This script is not actually a page scraper as it only loops thru a list of stocks, calls this page, and reformats the results.  

Got my fingers crossed that Yahoo looks at this as acceptable.  :)
Axim X5 Advanced, Windows Mobile 2003

LawofA

Quote from: joelw135After theater1=xxxxx&zip1=xxxxx&theater2=xxxxx&zip2=xxxxx&theater3=xxxxx&zip3=xxxxx

Just follow what I did above put the name of the theater as listed on Yahoo then the zip code you use. It can be all the same zip as you did in Yahoo.

You don't see the other theaters until you click on a movie title.

Hi joelw135:
I still don't get it. Where and what line in the script is this added. If possible, could you PM me your script? I will appreciate it.

Thanks.

LawofA

MadTxn

You don't change the script.  That's at the end of the URL you use to view it.  So in your config, for this RSS entry, you would have:

http://server name/server directory/listings_rss.php?theater1=xxxxx&zip1=xxxxx&theater2=xxxxx&zip2=xxxxx&theater3=xxxxx&zip3=xxxxx

LawofA

Quote from: MadTxnYou don't change the script.  That's at the end of the URL you use to view it.  So in your config, for this RSS entry, you would have:

http://server name/server directory/listings_rss.php?theater1=xxxxx&zip1=xxxxx&theater2=xxxxx&zip2=xxxxx&theater3=xxxxx&zip3=xxxxx

Thanks MadTxn. I will try it tonight.

LawofA