Gospel. Culture. Technology. Music.

Category: Technology Page 11 of 17


Currently Hearing Version 2.0

DOWNLOAD THE EXE FILE HERE

Man, this is cool: live web updating of what I’m currently listening to on my media player. I’ve looked for something like this for a while, but until now have come across nothing. This handy little plugin for Winamp makes it possible to broadcast your XML song info content from your Winamp player to your website. I set it up above and it worked seamlessly, pretty incredible. For whatever reason, the blog entry where I found this thing (posted above) says this is version 1.5 and that there is no Winamp support. Then in the instructions, it gives instructions for what to do in Winamp. Don’t really get all that, but anyway, ignore what it says, and continue on with the instructions, because I have it working (look above). For this to work on your website, you will need to be running PHP, ASP (VBScript), or PERL. In addition you will need FTP access to the web folder where your site resides. If you do not have this access, it will not work. Here are the instructions for getting it to work. I’ve taken their instructions and modified them a bit to make it easier to understand (took me a bit to figure out what to do), using brackets to indicate all I’ve added or modified:

1. [After opening EXE file, unzip the contents into a folder.]
2. [Run the EXE within the unzipped folder.] YOU MUST INSTALL THIS INTO YOUR WINAMP/PLUGINS FOLDER (ie: C:Program FilesWinampPlugins)
3. Start Winamp.
4. Go to Winamp’s Preferences (Options | Preferences from the main menu).
5. Select the General Purpose branch under Plug-ins [on the left], in the Preferences window.
6. Select Currently Hearing 2.0 and click Configure (or just double click Currently Hearing 2.0).
7. Enter all your [FTP host (i.e. something.westerfunk.net, or 4.3.2.1) and login] information and check the “Enable Plugin” box.
8. Click “Set Configuration”

Now you should be set. However, on the code side, I had to modify the PHP file to make it look like it did above. If you want help with that, just email me or comment here and I would be glad to help.

Interesting Links – Change Above

I worked out a way to more easily post links I have found interesting out on the internet, whether from theology, news, science, politics, etc. Basically, instead of changing html every time I want to add a new link and delete others at the end of the list, I can now just add links via a sub-blog, used merely for adding links. I used SimplePHPBlog, Feed2JS and Magpie to accomplish this. I had to go in and recode some things to get it to appear the way it does above, but it wasn’t much work. Now I can not only more quickly add links, I’ll be more inclined to post links I come across now, because changing html every time doesn’t exactly get you excited to post something. In addition to this, all the links I add will be archived under the link above entitled, “Past Links.” So if you want, you can go back and look at what I’ve posted. Pretty cool. So check back frequently for updates to the “Interesting Links” section above. I’ll be updating it more often now.

Saving MMS Streams Into a WMV File

http://sdp.ppona.com/

This app makes it possible to save MMS (Microsoft) video streams into WMV files. So if there is some live web event in FoxNews or NBC5i, you can save it.

Easier way to download Flash Videos

http://www.orbitdownloader.com/download.htm

This is a free app that allows you to sniff for pretty much any media file, even if they have caching turned off. As an example, I was able to download a 60 Minutes interview with Osteen and Horton from a flash video streaming server. Pretty awesome …

Steps to Obtain Any Flash Video from Any Website

Update: 10.17.2007

http://www.orbitdownloader.com/download.htm

This is a free app that allows you to sniff for pretty much any media file, even if they have caching turned off. As an example, I was able to download a 60 Minutes interview with Osteen and Horton from a flash video streaming server. Pretty awesome …
——————————————————————————–

Figured this out today, not really difficult or all that complicated, but you do need some fundamental computer knowledge to be able to do this (Instructions for XP only):

1) Download and install Firefox (if you haven’t already, shame on you – www.getfirefox.com ).

2) Download and install a Flash Video player (I use Riva FLV Player – http://www.rivavx.com/index.php?id=422 ).

3) Using Firefox, browse to the website where the video resides.

4) If the video doesn’t auto-play, click the play button on the flash player in the browser. This will initiate the download of the FLV file into the Firefox cache. Also, you’ll want to wait for the whole file to download within the player before proceeding. Otherwise you’ll only get part of the video.

5) Browse to “C:Documents and Settings(Profile name)Local SettingsApplication DataMozillaFirefoxProfiles(random numbers & letters).defaultCache”

6) Sort by date to show the most recent files in the Cache folder.

7) The FLV file will be a random letter/number named file with no file extension and should be the largest file at the top (or near the top of the list, may be second, third, or forth). It WILL NOT be the files starting with “_CACHE_”. FLV files are usually going to be several megabytes in size. If the video is short though, it could possibly be smaller than a meg.

8) Copy the file out of this folder, paste it to your desktop (or some other location), rename the file and put a .flv extension on the end of it.

9) Attempt to open the file with the FLV player. If it plays your video, you’ve successfully copied over the correct file. If not you’ll need to try one of the other large files at the top of the list in the Cache folder.

(Optional)

10) Sign up for a free account @ www.mediaconverter.org and convert your FLV file into any other major video file format (Max. 100 MB file)

– So far, I have been able to obtain Flash Videos from ABC, CNN, MSNBC, Youtube, Google, MySpace, MyFoxDFW, and several other sites. The only one I couldn’t get it to work on was NBC when trying to snag Heroes. They apparently have caching turned off on those files. So it’s possible that at the server level, if the site has caching turned off, this won’t work. You’ll have to go a different route to download the file … maybe using this … http://www.mediapirate.org/

AOMIN.org Theology Chatroom

http://www.justpete.ca/proschat/index.php

I came across this today on AOMIN.org and didn’t even realize it was there: a theology chatroom. The link is the left-hand side of the main page (kind of obvious), but I just usually hopped on to read the blogs and hear the DL radio show. It uses a java applet to connect to an IRC server. Good stuff, check it out. Post your questions and I’m sure you’ll get answers, good answers. These aren’t just run-of-the-mill lay persons (like me), they are scholars and theologians.

Useful Protocol-Intelligent Javascript Code (Update 3)

Well, in this third installment of “Useful Protocol-Intelligent Javascript Code,” (not intending it to become a series, ha) I was sent a link by Matt Hinze where someone has already written some code that will do this exact thing, particularly for Google analytics js code. Take a look:

<script type=”text/javascript”>
document.write( ‘<scr’+’ipt type=”text/javascript” src=”‘ );
if( document.location.toString().indexOf( ‘https://’ ) != -1 ) {
document.write( ‘https://ssl’ ); } else { document.write( ‘http://www’ ); }
document.write( ‘.google-analytics.com/urchin.js”></scr’+’ipt>’ );
</script>

<script type=”text/javascript”>
_uacct = “UA-XXXXXXX-X”;
urchinTracker();
</script>

<script type=”text/javascript”>
document.write( ‘<scr’+’ipt type=”text/javascript”>’ );
if( document.referrer.toString().indexOf( ‘www.westerfunk.net’ ) ==-1 ) {
document.write( ‘urchinTracker(document.referrer);’ ); }
document.write( ‘</scr’+’ipt>’ );
</script>

I have set this up on Westerfunk.net and will see what the results look like tomorrow, to see if the code is actually rendering properly. So far it appears it is actually making the calls out to google on every page hit, but only G-analytics results will shed light on this theory.

Blog entry where the code came from:

(Original): http://www.reubenyau.com/google-analyti … rrer-only/
(Archived): http://www.westerfunk.net/archives/tech … er%20Only/

Update:
————————————————————-

This appears to be working very well and all my stats look back to normal on google-analytics. So this code is good …

Useful Protocol-Intelligent Javascript Code (Update 2)

Well after coming across some issues with the last version of code (i.e. when visiting the website, it wasn’t always rendering the google analytics javascript like it should have been, as reflected in the reports on google’s site). For the past two days, it only showed two hits. So I have now reverted back to my original if/else js code. I guess maybe it was getting cached or not finishing on some browsers or something. Strange …

Useful Protocol-Intelligent Javascript Code (Update)

Thanks to the help of a friend named Matt Hinze, this javascript code can be simplified. Here’s the code:

<script language=”JavaScript” type=”text/javascript”>

var url = window.location.protocol == ‘https:’ ? ‘https://ssl.google-analytics.com/urchin.js’ : ‘http://www.google-analytics.com/urchin.js’;
document.write(‘<scr’+’ipt src=”‘ + url + ‘” type=”text/javascript”>’);
document.write(‘<scr’+’ipt src=”/google.js” type=”text/javascript”>’);

</script>

Useful Protocol-Intelligent Javascript

This is really cool. I modified this to make it possible to differentiate HTTP/S protocols. If you are running a web site where you have both secure (HTTPS) and unsecured (HTTP) information, but want certain data to only show up on the secure pages, this will do it. On the clients’ machine, when downloading the html from the web server, this javascript will detect what protocol is being utilized (either regular HTTP or HTTPS) and render the code accordingly. I modified the code for my Google Analytics tags so that when using HTTPS it will utilize https://ssl.google-analytics.com/urchin.js for secure connections instead of http://www.google-analytics.com/urchin.js for the unsecured connections. I’ll show you my example code:

<script language=”JavaScript” type=”text/JavaScript”>
if (window.location.protocol.indexOf(‘https:’)==0?’s’:”)
{
document.write(‘<scr’+’ipt src=”https://ssl.google-analytics.com/urchin.js” type=”text/javascript”>’);
document.write(‘<scr’+’ipt src=”/google.js” type=”text/javascript”>’);
}

else
{
document.write(‘<scr’+’ipt src=”http://www.google-analytics.com/urchin.js” type=”text/javascript”>’);
document.write(‘<scr’+’ipt src=”/google.js” type=”text/javascript”>’);
}
</script>

Page 11 of 17

Powered by WordPress & Theme by Anders Norén