solved RSS Error

derrickhand300
@derrickhand300
9 years ago
1,353 posts
When I try to get a feed using this url
http://roughneckcity.com/feed/oilfield_videos/
I get the attached error that says "Module Is Not Active"...but my RSS module is active
Is there something different I need to do in the rss module settings to make the feed available?
Capture.JPG.jpg
Capture.JPG.jpg  •  27KB


updated by @derrickhand300: 12/22/16 11:55:59AM
brian
@brian
9 years ago
10,149 posts
derrickhand300:
When I try to get a feed using this urlhttp://roughneckcity.com/feed/oilfield_videos/
I get the attached error that says "Module Is Not Active"...but my RSS module is active
Is there something different I need to do in the rss module settings to make the feed available?

Is "oilfield_videos" the URL for a custom module you created?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
derrickhand300
@derrickhand300
9 years ago
1,353 posts
No- its just a page I created using
<h1>Oilfield Videos</h1>
<div id="vidwrap">

{capture name="template" assign="tpl"}
{literal}
    <div class="container">
        {foreach $_items as $item}
        {if $item@first || ($item@iteration % 3) == 1}
        <div class="row">
            {/if}
            <div class="col4">
                <div class="img-profile">
                    {if $item.seamless_module_name == "jrYouTube"}
                    <a href="{$jamroom_url}/{$item.profile_url}/youtube/{$item._item_id}/{$item.video_title_url}">
                        <img src="{$item.youtube_artwork_url}" class="rank_image" width=320 height=180/></a>                  
                    {elseif $item.seamless_module_name == "jrVideo"}
                            <a href="{$jamroom_url}/{$item.profile_url}/video/{$item._item_id}/{$item.video_title_url}">{jrCore_module_function function="jrImage_display" module="jrVideo" type="video_image" item_id=$item._item_id size="large" alt=$item.video_title title=
$item.video_title class="top_rank" width=320 height=180}</a>
                            {/if}
                        </div>
                
                <div class="center mb10">
                    {if $item.seamless_module_name == "jrYouTube"}
                    <a href="{$jamroom_url}/{$item.profile_url}/youtube/{$item._item_id}/{$item.youtube_title}"><span style="color: #ffffff;">{$item.youtube_title|truncate:24}</a></span>                   
                         {elseif $item.seamless_module_name == "jrVideo"}   
                        <a href="{$jamroom_url}/{$item.profile_url}/video/{$item._item_id}/{$item.video_title_url}"><span style="color: #ffffff;">{$item.video_title|truncate:24}</a></span>
                        {/if}
                        <br>                      
                </div>
            </div>
            {if $item@last || ($item@iteration % 3) == 0}
        </div>
        {/if}
        {/foreach}
    </div>
{/literal}
{/capture}
  {jrSeamless_list modules="jrVideo,jrYouTube" order_by="_created numerical_desc"  pagebreak=30 page=$_post.p pager=true template=$tpl}</div>
brian
@brian
9 years ago
10,149 posts
That's not how the feed module works - it works to create an RSS feed from a module's datastore items - i.e.

feed/uploaded_audio
feed/uploaded_video
feed/blog
..etc..


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
derrickhand300
@derrickhand300
9 years ago
1,353 posts
Any way to get a feed from combined video?
brian
@brian
9 years ago
10,149 posts
derrickhand300:
Any way to get a feed from combined video?

use "video" instead of "uploaded_video" - i.e.

yoursite.com/feed/video

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
derrickhand300
@derrickhand300
9 years ago
1,353 posts
Thanks Brian- yeah I stumbled on that when I marked it solved...I am getting a feed now and it validates... but the next step for me is to configure the feed correctly for videos...
Right now the feed shows
Title
Date
Description
But no video thumbnail?
I thought the logical place to start would be in jrVideo and find the template for something like rss_item_detail.tpl but there are no templates for rss in the jrVideo module

I see this template code in the rss_list.tpl and want to add a video thumbnail or player in the spot indicated

{if isset($jrFeed.feed)}
    <div class="title"><h2>{$jrFeed.feed.title}</h2></div>
    <div class="block_content">
        <div class="item" style="height:462px;overflow:auto;">
            {if isset($jrFeed.feed.item)}
                {foreach from=$jrFeed.feed.item item="item"}
                    <div class="normal">
                        <a href="{$item.link}">{$item.title}</a><br>
                        {$item.pubDate|jrCore_date_format}<br>
ADD VIDEO HERE USING SOMETHING LIKE    {$item.video}<br>
                        {$item.description}<br>
                    </div>
                    <hr>
                {/foreach}
            {/if}
        </div>
    </div>
{/if}

So if thats possible then im still confused on how to add that rss_list.tpl JUST TO the jrVideo module?
All I can come up with is some sort of IF statement that says " if module is jrVideo show a video thumbnail"

Are you able to follow my dilemma?

Seems like it would be easier if each module that used RSS would have its own code and in that code you could just enter stuff like "true/false" to stuff like " Show video thumbnail

I know there has to be a reason but since I first came here I never understood why this part was so complicated
derrickhand300
@derrickhand300
9 years ago
1,353 posts
Maybe I should tell you what I am trying to accomplish because there is probably a better way than this...

On my page that displays a full size video- in the right 3 column side I want to show a list of video titles/thumbnails of the latest videos uploaded-the same type template that youtube has when you go to their site and watch a video...I am wanting to do the same thing for IMAGES...
brian
@brian
9 years ago
10,149 posts
derrickhand300:
Maybe I should tell you what I am trying to accomplish because there is probably a better way than this...
On my page that displays a full size video- in the right 3 column side I want to show a list of video titles/thumbnails of the latest videos uploaded-the same type template that youtube has when you go to their site and watch a video...I am wanting to do the same thing for IMAGES...

That is not related to an RSS Feed - that would just be a standard jrCore_list call...


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags