Re: [videoblogging] Re: Questions: RSS, PSP, 3g, IP ...

2006-05-11 Thread David Meade



I wrote up a quick PHP script to check most of that stuff. It returns an array of data so that in your page you can call the function and then test things like:$request['agent']or$request['os']or$request['isBOT']
and a bunch of other booleans I added in. It will even (try to) tell you if the request is servicing more than one subscriber. For example a mefeedia request may be serving many subscribers ... this function will tell you how many (when such information is provided).
Check out: http://www.davidmeade.com/resources/getSubscriberInfo.phpI'll send you the php file, however it would be up to you to then test the values this function returns and decide what to do based off of it.
Example:$request = getSubscriberInfo();if ($request['agent'] == 'iTunes') {// do something here}else {// do something else.}It doesnt do country of origin, but it could ... I dont know how to do it off the top of my head, but it shouldnt be TOO difficult. If its the killer feature you're dying for let me know and I'll try to find some time to figure it out.
- DaveOn 5/10/06, wazman_au [EMAIL PROTECTED] wrote:
I would be very very interested in that ... thanks, you can e-mail meofflist if you like. [EMAIL PROTECTED]Waz
www.crashtestkitchen.com--- In videoblogging@yahoogroups.com, David Meade [EMAIL PROTECTED]wrote: I wrote a php script once to parse out the user agent and OS of people
 requesting my feed.I used it to estimate subscribers ... I movedover to feedburner and abandonded my script ... but it certainly is possible... I know of at least one script that did something similar :-P
 I dont have alot of time to spend coding, but I could probably whipup with a php function to return the user agent, IP, and OS (when/if such information is available) ... would that be enough for you to accomplish
 what you want to do? You could then use/test those values to decide what version of thefeed to give them. - Dave On 5/8/06, Jen Simmons [EMAIL PROTECTED] wrote:
   yeah, well when you figure it out, offer the code to us as opensource,  with an in-depth tutorial !!!  :-)  you'll get lots of brownie points and well wishes
  as far as I know many of us have been wishing for something like this,  but no one's yet done it...  (ok, jump in to correct me if / where I'm wrong)   j 
  jenSimmons  http://www.jensimmons.com  On May 8, 2006, at 4:34 AM, wazman_au wrote:   Hmm, I suppose I was looking for a bit more than a Yes, it can be
  done/no, it can't be done answer; rather, someone who's doneit, or  done something similar, and might have a ready-made solution!I have no idea how WordPress logs the info about user agent, for
   example.Oh well, looks like i'm out on the bleating edge and it will be  self-help and a crash course in PHP scripting for me.  
  Waz  www.crashtestkitchen.com   Yahoo! Groups Links 
-- http://www.DavidMeade.com feed:
http://www.DavidMeade.com/feed Yahoo! Groups Sponsor ~--Home is just a click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/lBLqlB/TM~-Yahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/videoblogging/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/
-- http://www.DavidMeade.comfeed:http://www.DavidMeade.com/feed





  
  
SPONSORED LINKS
  
  
  

Fireant
  
  
Individual
  
  
Use
  
  


Explains
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "videoblogging" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[videoblogging] Re: Questions: RSS, PSP, 3g, IP ...

2006-05-08 Thread wazman_au



Hmm, I suppose I was looking for a bit more than a Yes, it can be
done/no, it can't be done answer; rather, someone who's done it, or
done something similar, and might have a ready-made solution!

I have no idea how WordPress logs the info about user agent, for example. 

Oh well, looks like i'm out on the bleating edge and it will be
self-help and a crash course in PHP scripting for me.

Waz
www.crashtestkitchen.com

--- In videoblogging@yahoogroups.com, David Meade [EMAIL PROTECTED]
wrote:

 Sure you could create a php file to offer different version of the feed
 based on user agent. Just be sure to take into account that the
user doesnt
 HAVE to send an agent string ... and if they do ... they dont HAVE
to tell
 the truth. :-P
 
 IP to countries can be done as well, but its not always 100% accurate.
 
 On 5/7/06, Charles Iliya Krempeaux [EMAIL PROTECTED] wrote:
 
 
  However,... the thing to note is that iPod can only play M4V
files; and
  PSP's can only play MP4 files.
 
 
 Actually the iPod can play .MOVs and .MP4s so long as they are
compressed
 correctly. My feed has .MOVs that play on the ipod.
 
 
 --
 http://www.DavidMeade.com
 feed: http://www.DavidMeade.com/feed










  
  
SPONSORED LINKS
  
  
  

Fireant
  
  
Individual
  
  
Use
  
  


Explains
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "videoblogging" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












Re: [videoblogging] Re: Questions: RSS, PSP, 3g, IP ...

2006-05-08 Thread Jen Simmons



yeah, well when you figure it out, offer the code to us as open source, 
with an in-depth tutorial !!!
:-)
you'll get lots of brownie points and well wishes
as far as I know many of us have been wishing for something like this, 
but no one's yet done it...
(ok, jump in to correct me if / where I'm wrong)

j

jenSimmons
http://www.jensimmons.com
On May 8, 2006, at 4:34 AM, wazman_au wrote:

 Hmm, I suppose I was looking for a bit more than a Yes, it can be
 done/no, it can't be done answer; rather, someone who's done it, or
 done something similar, and might have a ready-made solution!

 I have no idea how WordPress logs the info about user agent, for 
 example.

 Oh well, looks like i'm out on the bleating edge and it will be
 self-help and a crash course in PHP scripting for me.

 Waz
 www.crashtestkitchen.com






  
  
SPONSORED LINKS
  
  
  

Fireant
  
  
Individual
  
  
Use
  
  


Explains
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "videoblogging" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












Re: [videoblogging] Re: Questions: RSS, PSP, 3g, IP ...

2006-05-08 Thread David Meade



I wrote a php script once to parse out the user agent and OS of people requesting my feed. I used it to estimate subscribers ... I moved over to feedburner and abandonded my script ... but it certainly is possible ... I know of at least one script that did something similar :-P
I dont have alot of time to spend coding, but I could probably whip up with a php function to return the user agent, IP, and OS (when/if such information is available) ... would that be enough for you to accomplish what you want to do?
You could then use/test those values to decide what version of the feed to give them.- DaveOn 5/8/06, Jen Simmons 
[EMAIL PROTECTED] wrote:yeah, well when you figure it out, offer the code to us as open source,
with an in-depth tutorial !!!:-)you'll get lots of brownie points and well wishesas far as I know many of us have been wishing for something like this,but no one's yet done it...(ok, jump in to correct me if / where I'm wrong)
jjenSimmonshttp://www.jensimmons.comOn May 8, 2006, at 4:34 AM, wazman_au wrote:Hmm, I suppose I was looking for a bit more than a Yes, it can be
done/no, it can't be done answer; rather, someone who's done it, ordone something similar, and might have a ready-made solution!I have no idea how WordPress logs the info about user agent, for
 example.Oh well, looks like i'm out on the bleating edge and it will beself-help and a crash course in PHP scripting for me.Waz
www.crashtestkitchen.com Yahoo! Groups Sponsor ~--Everything you need is oneclick away. Make Yahoo! your home pagenow.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/lBLqlB/TM~-Yahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/videoblogging/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/
-- http://www.DavidMeade.comfeed:http://www.DavidMeade.com/feed





  
  
SPONSORED LINKS
  
  
  

Fireant
  
  
Individual
  
  
Use
  
  


Explains
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "videoblogging" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.