Author Topic: MOD: RSSMotion - MultiRSS Generator  (Read 61280 times)

LennonNZ

  • Hero Member
  • *****
  • Posts: 977
    • Bcast New Zealand
MOD: RSSMotion - MultiRSS Generator
« on: September 12, 2008, 11:21:46 PM »
Update: 28/02/10

4.00
------
Works for V2,V3 and V3.5
Support and Download @ http://www.phpmotionmods.com/?p=4

3.75
------

Fixed a big problem...

3.70
------
Quite a number of fixes including allowing embedded videos + more. Please report any problems as this has quite a number of changes included in it


3.10
------
A little update which uses different php functions if case you don't have them. It hasn't been tested much but should work. the UTF-8 stuff is still very messy.

3.00
-----
New Version out which a few bug fixes (and more bugs)
Beta Only until I get more people testing it
V2 and V3 compatible
Lots of other stuff which I've forgotten about.
Please don't use this for production yet and if you are using it please let me know so I can test for bugs.
Please report any bugs to lennon@orcon.net.nz

2.60
------
Fixes jwplayer type
Added Ratings Support for Google videositemap
Added Support for PubDate with Google videositemap + MediaRSS (better if times where where stored as datetime mysql type but they are not)

2.58
------
Fixes descriptions in rss type feed

2.56
-----
Fixes mediarss and itunes support for people who have installed phpmotion in a subdirectory of their domain.

######################################################
This is an MultiRSS Generator which will generator various versions of the RSS Feed so you can use them to promote your videos on other websites. (My documentation is not very good ) :-)

Note: this only works under PHP5 due to the XML Dom Module used. This is quite a large rewrite so may stil have lots of bugs.

This mod will produce:

http://www.bcast.co.nz/rssmotion.php?type=mediarss (MediaRSS Output)
Submit to:
http://www.truveo.com
http://www.genwi.com
http://www.vodpod.com (Sign up ...Blog Importer (Right Bottom) .In the blog URL put .../rssmotion.php?type=mediarss)
http://www.purevideo.com
http://www.clipblast.com
http://www.mefeedia.com
http://www.searchforvideo.com
http://www.videosurf.com (never got working.. contact me if you do)
http://www.blinkx.com (never got working.. contact me if you do)
http://www.feedio.net

(If you can suggest any other sites you can submit to please let me know)

http://www.bcast.co.nz/rssmotion.php?type=videositemap (Video Sitemap Output)
Submit to:
http://www.google.com/sitemaps

http://www.bcast.co.nz/rssmotion.php?type=rss (RSS Output)
http://www.bcast.co.nz/rssmotion.php?type=drelated (DRelated JWPlugin Output)
http://www.bcast.co.nz/rssmotion.php?type=jwplayer (Jwplayer playlist Output)

http://www.bcast.co.nz/rssmotion.php?type=itunes (Itunes audio RSS)
Submit with itunes:

http://www.bcast.co.nz/rssmotion.php  (defaults to RSS output)

External Options:
limit  (http://www.bcast.co.nz/rssmotion.php?type=mediarss&limit=10)
  - will limit to 10 results (Default is 10000 results)

It may be good to decrease the default in the php program after you have it all working. PLaces which take RSS Feeds only get the top new list every day or so, so change to a figure so they will see all the new videos each day (ie 10 new videos per day. maybe change to show 20). This puts less load on your website.

Internal Options:
$familyunsafe = ""; // Channel which is family Unsafe
$longtailvideoid = ""; // Your Longtail ID (If you have longtail ads)
$jwplayerversion = "3"; // JWPLAYER Version (version of player if you have longtail ads)

This is no longer needed after 2.56..
If you see no videos with the mediarss feed change:
#$filesize = 1111111;
to
$filesize = 1111111;


The directory reported via the server and the actual place you are on is sometimes not correct :-(


This below will  allow browsers will support it to pick up a RSS Feed of various parts of the website (ie per user, per channel, per category etc)
-----------------
edit templates/main_1.htm
add
<link rel="alternate" type="application/rss+xml" title="[var.site_name]" href="[var.base_url]/rssmotion.php?channel=[var.channel]&group=[var.group_name]&member_id=[var.member_id]" />

in the <head> part under the <meta>'s
----------------------

Please test each option (mediarss, videositemap etc) and if you have troubles please post a message with your FULL website name so I can debug the problem.

Don't start to submit to websites unless you have it all working as if you send most of the websites wrong/bad information it will take a long time for them to forget it :-)

You can test the rss/mediarss/itunes support with http://www.simplepie.org/demo/

Craig (lennon@orcon.net. nz)


« Last Edit: February 27, 2010, 10:21:32 PM by LennonNZ »

locau

  • V3 Beta Tester
  • Full Member
  • *
  • Posts: 240
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #1 on: September 13, 2008, 06:38:30 AM »
nice work LennonNZ

I'll update my older versions to this one :)

Great job m8... tks for all the help

stefane56

  • Newbie
  • *
  • Posts: 76
Re: MOD: RSSMotion - MultiRSS Generator error 404
« Reply #2 on: September 13, 2008, 09:40:38 AM »
don't work

I upload rssmotion-2.00 and install all 4 docs in my hosting (with all doc who's name php), but it's Generated 404

e n t r e p r i s e o.om/rss.php

what ca we do please and need a rss

stefane

LennonNZ

  • Hero Member
  • *****
  • Posts: 977
    • Bcast New Zealand
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #3 on: September 13, 2008, 02:39:56 PM »
as its called rssmotion.php not rss.php (i've fixed that in the doc above)

also found a little problem with calling with www.domain and just domain sith the style sheets (across domain style sheets)..

also a small problem if you put the wrong type= it errors..

Fixed in the next version

stefane56

  • Newbie
  • *
  • Posts: 76
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #4 on: September 13, 2008, 03:15:03 PM »
thank for you reply

I've just one url but is it ok and enought to work

 it's : domaine.com/rssmotion.php?type=rss

stefane


selecta

  • Jr. Member
  • **
  • Posts: 100
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #5 on: September 14, 2008, 08:37:46 AM »

LennonNZ

  • Hero Member
  • *****
  • Posts: 977
    • Bcast New Zealand
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #6 on: September 14, 2008, 01:25:52 PM »
You have the seo mod on your domain but not enabled?

selecta

  • Jr. Member
  • **
  • Posts: 100
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #7 on: September 14, 2008, 02:22:31 PM »
no seo mod at all

LennonNZ

  • Hero Member
  • *****
  • Posts: 977
    • Bcast New Zealand
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #8 on: September 14, 2008, 04:48:54 PM »
ah..

Call to undefined function:  iconv()

strange.. what version of php are you running?

Its a pretty standard php command

Thanks



selecta

  • Jr. Member
  • **
  • Posts: 100
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #9 on: September 14, 2008, 06:54:25 PM »
server is using PHP version 4.4.7

LennonNZ

  • Hero Member
  • *****
  • Posts: 977
    • Bcast New Zealand
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #10 on: September 14, 2008, 07:15:01 PM »
server is using PHP version 4.4.7

your machine or a machine you can get php recompiled with iconv support? Check phpinfo() and should see something like;

iconv support    enabled
iconv implementation    glibc
iconv library version    1.11

Directive   Local Value   Master Value
iconv.input_encoding   ISO-8859-1   ISO-8859-1
iconv.internal_encoding   ISO-8859-1   ISO-8859-1
iconv.output_encoding   ISO-8859-1   ISO-8859-1

If its ther and not working then your php is broken :-(


you can remove the iconv lines but in the rssmotion.php file. but your'll have problems with people who use non UTF-8 stuff

Thanks

selecta

  • Jr. Member
  • **
  • Posts: 100

LennonNZ

  • Hero Member
  • *****
  • Posts: 977
    • Bcast New Zealand
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #12 on: September 15, 2008, 05:39:03 AM »
looks like I forgot some things...  replace

<title><?=$row['title']; ?></title>

with

<title><?=$title; ?></title>

Thanks




selecta

  • Jr. Member
  • **
  • Posts: 100
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #13 on: September 15, 2008, 05:39:30 AM »
also i see mention of submitting to video.yahoo.com, how is the done? through the yahoo site explorer or directly to video.yahoo.com?

roypitt

  • Jr. Member
  • **
  • Posts: 103
Re: MOD: RSSMotion - MultiRSS Generator
« Reply #14 on: September 15, 2008, 06:38:18 AM »
Ho LennonNZ
i have download ur last version rsss and site map
i just whant to know if u can tell me, or send me in a link, how i instll it and setup it....
im sorry but is the first time that i use that addon!!
thanks very much