url: getting the full url of a file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

url: getting the full url of a file

sergio_101-2
i am on the last leg of my journey in getting a podcast set up on my
pier site, and i have one more question that is more seaside than
pier..

in order for itunes to index and use your feed, it has to have direct
access to the real file url of your podcast episode.

my rss feed currently sends this:

<enclosure url="/?_s=K08URB5OyCLsVbHr" length="8740698" type="audio/mp3">

what i need is something like this:

<enclosure url="http://www.thoseoptimizeguys.com/f4/7j0yahammck0qpjwxifiuc8mdeuo6k/Those-Optimize-Guys-Podcast-Episode-001.mp3"
length="8740698" type="audio/mp3"></enclosure>

how can i get WAUrl to spit this out?

ideas?

thanks!

--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: url: getting the full url of a file

Lukas Renggli
Did you set "Server Hostname" in the Seaside configuration? Seaside
cannot guess that.

http://book.seaside.st/book/advanced/deployment/deployment-preparing

Lukas

On 4 December 2010 02:36, sergio_101 <[hidden email]> wrote:

> i am on the last leg of my journey in getting a podcast set up on my
> pier site, and i have one more question that is more seaside than
> pier..
>
> in order for itunes to index and use your feed, it has to have direct
> access to the real file url of your podcast episode.
>
> my rss feed currently sends this:
>
> <enclosure url="/?_s=K08URB5OyCLsVbHr" length="8740698" type="audio/mp3">
>
> what i need is something like this:
>
> <enclosure url="http://www.thoseoptimizeguys.com/f4/7j0yahammck0qpjwxifiuc8mdeuo6k/Those-Optimize-Guys-Podcast-Episode-001.mp3"
> length="8740698" type="audio/mp3"></enclosure>
>
> how can i get WAUrl to spit this out?
>
> ideas?
>
> thanks!
>
> --
> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> http://www.CodingForHire.com
> http://www.coffee-black.com
> http://www.painlessfrugality.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: url: getting the full url of a file

sergio_101-2
> Did you set "Server Hostname" in the Seaside configuration? Seaside
> cannot guess that.
>
> http://book.seaside.st/book/advanced/deployment/deployment-preparing
>


ah! okay.. this gets me one step closer..

now, my enclosure url looks like:

http://www.thoseoptimizeguys.com/?_s=Pvz0pGYZaBDCV4xM

i need to have the entire file path... like this:


http://www.thoseoptimizeguys.com/f4/7j0yahammck0qpjwxifiuc8mdeuo6k/Those-Optimize-Guys-Podcast-Episode-001.mp3

ideas?


--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: url: getting the full url of a file

Lukas Renggli
If you serve the files through Apache (which is very advisable) you
can set the path in the File Settings widget at
<http://localhost:8080/pier/system/management/file>. The "base
directory" is where the files are stored on your filesystem (you
shouldn't need to change that). The base URL is the full path prefix
where the files can be accessed from outside.

Lukas

On 4 December 2010 11:14, sergio_101 <[hidden email]> wrote:

>> Did you set "Server Hostname" in the Seaside configuration? Seaside
>> cannot guess that.
>>
>> http://book.seaside.st/book/advanced/deployment/deployment-preparing
>>
>
>
> ah! okay.. this gets me one step closer..
>
> now, my enclosure url looks like:
>
> http://www.thoseoptimizeguys.com/?_s=Pvz0pGYZaBDCV4xM
>
> i need to have the entire file path... like this:
>
>
> http://www.thoseoptimizeguys.com/f4/7j0yahammck0qpjwxifiuc8mdeuo6k/Those-Optimize-Guys-Podcast-Episode-001.mp3
>
> ideas?
>
>
> --
> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> http://www.CodingForHire.com
> http://www.coffee-black.com
> http://www.painlessfrugality.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: url: getting the full url of a file

sergio_101-2
> <http://localhost:8080/pier/system/management/file>. The "base
> directory" is where the files are stored on your filesystem (you
> shouldn't need to change that). The base URL is the full path prefix
> where the files can be accessed from outside.

perfect! that is exactly what i needed!

thanks, lukas..

--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside