1
pablo103
rss in x_movie module
  • 2009/1/2 23:48

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


How can i add RSS feeds to x_movie module?

2
Anonymous
Re: rss in x_movie module
  • 2009/1/3 2:26

  • Anonymous

  • Posts: 0

  • Since:


Hello,

I made RSS feed for x_movie module:
http://www.arabxoops.com/uploads/x_movie_rss.zip

Try it

3
Burning
Re: rss in x_movie module
  • 2009/1/3 2:42

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


Thanks :) !
Still learning CSS and... english

4
sailjapan
Re: rss in x_movie module

Hope I'm not hi-jacking this thread, but:
@ Mowaffak.
I saw that you made an RSS feed for x_movie module in this thread.
I downloaded it to see if I could find out how you did it, as I'm looking to make something similar for the myAlbum-p module. Can you explain how you do that? I can't see how your file works.

The reason I want my galleries to be available on RSS is so my site can use the CoolIris FireFox plugin.

There is a thread similar to this one (titled Create a XOOPS site with Cooliris) which Ghia replied to with RSS feed advice. I'll try to implement his ideas but thought other people might like to see CoolIris and try similar rss implimentations with other gallery modules.

Happy new year!
Never let a man who does not believe something can be done, talk to a man that is doing it.

5
Burning
Re: rss in x_movie module
  • 2009/1/4 14:46

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi,

There is already something about RSS and myAlbum here. That helps ?
Still learning CSS and... english

6
ghia
Re: rss in x_movie module
  • 2009/1/4 15:36

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


As WebPhoto inherits from myalbum v2.88, I think it would not be so difficult to adapt the RSS feed from it to MyAlbum-P.


7
Anonymous
Re: rss in x_movie module
  • 2009/1/4 16:22

  • Anonymous

  • Posts: 0

  • Since:


Thanks Sailjapan for inform me about this nice script, I try it with xcgal module at my site here by upload crossdomain.xml to the root of my site.

The crossdomain.xml file looks like this:
<?xml version="1.0"?>
        <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
        <cross-domain-policy>
          <site-control permitted-cross-domain-policies="all" />
          <allow-access-from domain="*.cooliris.com" secure="false" />
          <allow-access-from domain="*.piclens.com" secure="false" />
        </cross-domain-policy>

and the content of xcgal/gal.html is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<
head>
</
head>
<
body>
<
object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760" height="450">
          <
param name="movie" value="http://apps.cooliris.com/embed/cooliris.swf" />
          <
param name="flashvars" value="feed=http://www.arabxoops.com/modules/xcgal/rss2.php" />
          <
param name="allowFullScreen" value="true" />
          <
param name="allowScriptAccess" value="always" />
          
        <!--[if !
IE]>-->
          <
object id="coolirisSWF" type="application/x-shockwave-flash"
              
data="http://apps.cooliris.com/embed/cooliris.swf" width="760" height="450">
            <
param name="flashvars" value="feed=http://www.arabxoops.com/modules/xcgal/rss2.php" />
            <
param name="allowFullScreen" value="true" />
            <
param name="allowScriptAccess" value="always" />
        <!--<![endif]-->
            <
div><p><a href="http://www.adobe.com/go/getflashplayer">Get Adobe Flash</a></p></div>
        <!--[if !
IE]>-->
          </
object>
        <!--<![endif]-->
        </
object>
</
body>
</
html>

which rss2.php is xcgal RSS file.

Same thing will do with myalbum after download myalbum RSS hack from linux.ohwada.jp, you can see demo here




8
sailjapan
Re: rss in x_movie module

Ok. I've used ohwada san's hack for myAlbum, adding the files: rss.php and those for the template directory.

and hacking theme.html for RSS Auto Discovery.

I've also taken the code off CoolIris.com's pages to create crossdomain.xml and the code from CoolIris>Embed Wall to create a new custom block (same code as Mowaffak used in his gal.html). I have made sure that all the feed values have been changed to point ot my rss.php file...

...and it still doesn't work.

Funny thing is, that when I use a stand alone feed viewing app, I can see the feed and all the images in it.

my feed is here (on a test site).

What might I be doing wrong?

One thing I thought about... should all the images in my uploads/photos and uploads/thumbs directories be chmod 777? At present they are 644

Any ideas welcomed.
Never let a man who does not believe something can be done, talk to a man that is doing it.

9
Anonymous
Re: rss in x_movie module
  • 2009/1/5 3:08

  • Anonymous

  • Posts: 0

  • Since:


It is not folder permissions problem. copy/paste your code here and what is the block settings ?

10
sailjapan
Re: rss in x_movie module

The block permissions are on for all groups (should be visible center bottom on top page (www.sail-japan.com)
The code is:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760" height="450">           
<
param name="movie" value="http://apps.cooliris.com/embed/cooliris.swf" />           
<
param name="flashvars" value="feed=http://www.sail-japan.com/modules/myalbum/rss.php" />           
<
param name="allowFullScreen" value="true" />           
<
param name="allowScriptAccess" value="always" />                    
<!--[if !
IE]>-->           
<
object id="coolirisSWF" type="application/x-shockwave-flash"
data="http://apps.cooliris.com/embed/cooliris.swf" width="760" height="450">             
<
param name="flashvars" value="feed=http://www.sail-japan.com/modules/myalbum/rss.php" />             
<
param name="allowFullScreen" value="true" />             
<
param name="allowScriptAccess" value="always" />         
<!--<![endif]-->             
<
div><p><a href="http://www.adobe.com/go/getflashplayer">Get Adobe Flash</a></p></div>         
<!--[if !
IE]>-->           
</
object>         
<!--<![endif]-->         
</
object>


crossdomain.html code is:
<?xml version="1.0"?>         <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">         <cross-domain-policy>           <site-control permitted-cross-domain-policies="all" />           <allow-access-from domain="*.cooliris.com" secure="false" />           <allow-access-from domain="*.piclens.com" secure="false" />         </cross-domain-policy>
Never let a man who does not believe something can be done, talk to a man that is doing it.

Login

Who's Online

240 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits