Advertisement:

Author Topic: SOLVED: no RSS feeds ?  (Read 10222 times)

borislav123

  • Newbie
  • *
  • Posts: 17
SOLVED: no RSS feeds ?
« on: December 30, 2012, 11:45:02 pm »
Hello, people.

I installed the OS Class script , all is fine, just no RSS feed working?

any ideas?

« Last Edit: January 02, 2013, 01:30:14 pm by borislav123 »

stuartthfc

  • Full Member
  • ***
  • Posts: 117
Re: no RSS feeds ?
« Reply #1 on: December 31, 2012, 02:39:23 pm »
Hi Borislav,

Im getting the same on a new installation also with the following message:

This page contains the following errors:

error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.


Im sure there is a fix on this site somewhere but I havent been able to find a simple solution just yet :-(

I will post here when I solve it

Regards,
Stuart

borislav123

  • Newbie
  • *
  • Posts: 17
SOLVED: Re: no RSS feeds ?
« Reply #2 on: January 02, 2013, 01:29:17 pm »
How to add RSS autodetection for browsers  to your  os class web-site :

Go to your theme folder

in file head.php - somewhere between <head> and </head> insert this:

Code: [Select]
<link rel="alternate" type="application/rss+xml" title="Title" href="http://www.site.com/index.php?page=search&sFeed=rss" />

thats it!

Enjoy !

heman85

  • Jr. Member
  • **
  • Posts: 98
Re: SOLVED: no RSS feeds ?
« Reply #3 on: September 20, 2013, 04:51:05 am »
Work for 1 of my sites.

mayasl

  • Newbie
  • *
  • Posts: 10
Re: SOLVED: Re: no RSS feeds ?
« Reply #4 on: January 08, 2014, 09:42:52 pm »
How to add RSS autodetection for browsers  to your  os class web-site :

Go to your theme folder

in file head.php - somewhere between <head> and </head> insert this:

Code: [Select]
<link rel="alternate" type="application/rss+xml" title="Title" href="http://www.site.com/index.php?page=search&sFeed=rss" />

thats it!

Enjoy !

That's working!

mandi007

  • Full Member
  • ***
  • Posts: 204
Re: SOLVED: no RSS feeds ?
« Reply #5 on: April 06, 2015, 07:57:48 am »
how to submit the rss feed to other site , i cant find the rss.xml file in the root folder

misad91

  • Newbie
  • *
  • Posts: 1
Re: SOLVED: no RSS feeds ?
« Reply #6 on: September 20, 2015, 02:11:36 am »
How to add RSS autodetection for browsers  to your  os class web-site :

Go to your theme folder

in file head.php - somewhere between <head> and </head> insert this:

Code: [Select]
<link rel="alternate" type="application/rss+xml" title="Title" href="http://www.site.com/index.php?page=search&sFeed=rss" />

thats it!

Enjoy !


i try this, and not working. help me

PostFreeOnline.Com

  • Jr. Member
  • **
  • Posts: 77
  • PostFreeOnline.Com
Re: SOLVED: no RSS feeds ?
« Reply #7 on: July 27, 2017, 04:57:18 pm »
I tried this But there is No <head></head> tag in header.php   

Please mark where is <head></head>

Code: [Select]
<?php
    
/**
     * Head location:   base.php
     * Header location: parts/header.php
     * Footer location: parts/footer.php
     * The rest of the menu is generated with blocks set in the widget page in settings
     * Blocks location: parts/blocks/**
     */
?>

<header class="<?php echo (mtk_field("$.design""i_content_boxed") == 1) ? "content-boxed" "" ?>">
    <div class="navbar <?php echo (mtk_field("$.design""i_navbar_inverse") == 1) ? "navbar-inverse" "navbar-default"?>  <?php echo (mtk_field("$.design""i_navbar_large") == 1) ? "navbar-lg" ""?> navbar-flatshadow <?php echo (mtk_field("$.layout""i_nav_fixed") == 1)?"navbar-fixed-top""navbar-static-top" ?>" role="banner">
        <div class="container-fluid">
            <div class="navbar-header">
                <div class="navbar-brand-wrapper">
                    <a class="navbar-brand <?php echo (mtk_logo_url() != "")?"navbar-brand-img":"" ?>" href="<?php echo osc_base_url(); ?>">
                        <?php if (mtk_logo_url() != "") :
                        
?>

                            <img src="<?php echo mtk_logo_url() ?>">
                        <?php
                        
else :
                            echo 
osc_page_title();
                        endif; 
?>

                    </a>
                </div>
                <button class="js-slideout-toggle-button navbar-toggle m-r-0 m-l-md pull-left" type="button">

                    <span class="icon"></span>
                    <span class="sr-only">
                        <?php _e("Toggle navigation"osc_current_web_theme()); ?>
                    </span>
                </button>
            </div>
            <div class="main-menu collapse navbar-collapse main-menu" id="js-main-nav">
                <ul class="nav navbar-nav navbar-nav-alt">
                    <?php mtk_show_widgets("menu_left"); ?>
                </ul>
                <ul class="nav navbar-nav navbar-right navbar-nav-alt">
                    <?php mtk_show_widgets("menu_right"); ?>
                </ul>
            </div>
        </div>
    </div>
    <div class="header-widgets">
        <?php mtk_show_widgets("header"); ?>
        <?php
        
if (mtk_is_user_page()) {
            
osc_current_web_theme_path("parts/user/menu.php");
        }

            
mcf_show_flash_message();
        
?>

    </div>
</header>

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: SOLVED: no RSS feeds ?
« Reply #8 on: July 27, 2017, 08:20:35 pm »
The link to the rss feed is http://yoursite.com/feed

I tried this But there is No <head></head> tag in header.php   

Please mark where is <head></head>

Code: [Select]
<?php
    
/**
     * Head location:   base.php
     * Header location: parts/header.php
     * Footer location: parts/footer.php
     * The rest of the menu is generated with blocks set in the widget page in settings
     * Blocks location: parts/blocks/**
     */
?>

<header class="<?php echo (mtk_field("$.design""i_content_boxed") == 1) ? "content-boxed" "" ?>">
    <div class="navbar <?php echo (mtk_field("$.design""i_navbar_inverse") == 1) ? "navbar-inverse" "navbar-default"?>  <?php echo (mtk_field("$.design""i_navbar_large") == 1) ? "navbar-lg" ""?> navbar-flatshadow <?php echo (mtk_field("$.layout""i_nav_fixed") == 1)?"navbar-fixed-top""navbar-static-top" ?>" role="banner">
        <div class="container-fluid">
            <div class="navbar-header">
                <div class="navbar-brand-wrapper">
                    <a class="navbar-brand <?php echo (mtk_logo_url() != "")?"navbar-brand-img":"" ?>" href="<?php echo osc_base_url(); ?>">
                        <?php if (mtk_logo_url() != "") :
                        
?>

                            <img src="<?php echo mtk_logo_url() ?>">
                        <?php
                        
else :
                            echo 
osc_page_title();
                        endif; 
?>

                    </a>
                </div>
                <button class="js-slideout-toggle-button navbar-toggle m-r-0 m-l-md pull-left" type="button">

                    <span class="icon"></span>
                    <span class="sr-only">
                        <?php _e("Toggle navigation"osc_current_web_theme()); ?>
                    </span>
                </button>
            </div>
            <div class="main-menu collapse navbar-collapse main-menu" id="js-main-nav">
                <ul class="nav navbar-nav navbar-nav-alt">
                    <?php mtk_show_widgets("menu_left"); ?>
                </ul>
                <ul class="nav navbar-nav navbar-right navbar-nav-alt">
                    <?php mtk_show_widgets("menu_right"); ?>
                </ul>
            </div>
        </div>
    </div>
    <div class="header-widgets">
        <?php mtk_show_widgets("header"); ?>
        <?php
        
if (mtk_is_user_page()) {
            
osc_current_web_theme_path("parts/user/menu.php");
        }

            
mcf_show_flash_message();
        
?>

    </div>
</header>

PostFreeOnline.Com

  • Jr. Member
  • **
  • Posts: 77
  • PostFreeOnline.Com
Re: SOLVED: no RSS feeds ?
« Reply #9 on: July 28, 2017, 08:46:06 am »
The link to the rss feed is http://yoursite.com/feed

I tried this But there is No <head></head> tag in header.php   

Please mark where is <head></head>

Code: [Select]
<?php
    
/**
     * Head location:   base.php
     * Header location: parts/header.php
     * Footer location: parts/footer.php
     * The rest of the menu is generated with blocks set in the widget page in settings
     * Blocks location: parts/blocks/**
     */
?>

<header class="<?php echo (mtk_field("$.design""i_content_boxed") == 1) ? "content-boxed" "" ?>">
    <div class="navbar <?php echo (mtk_field("$.design""i_navbar_inverse") == 1) ? "navbar-inverse" "navbar-default"?>  <?php echo (mtk_field("$.design""i_navbar_large") == 1) ? "navbar-lg" ""?> navbar-flatshadow <?php echo (mtk_field("$.layout""i_nav_fixed") == 1)?"navbar-fixed-top""navbar-static-top" ?>" role="banner">
        <div class="container-fluid">
            <div class="navbar-header">
                <div class="navbar-brand-wrapper">
                    <a class="navbar-brand <?php echo (mtk_logo_url() != "")?"navbar-brand-img":"" ?>" href="<?php echo osc_base_url(); ?>">
                        <?php if (mtk_logo_url() != "") :
                        
?>

                            <img src="<?php echo mtk_logo_url() ?>">
                        <?php
                        
else :
                            echo 
osc_page_title();
                        endif; 
?>

                    </a>
                </div>
                <button class="js-slideout-toggle-button navbar-toggle m-r-0 m-l-md pull-left" type="button">

                    <span class="icon"></span>
                    <span class="sr-only">
                        <?php _e("Toggle navigation"osc_current_web_theme()); ?>
                    </span>
                </button>
            </div>
            <div class="main-menu collapse navbar-collapse main-menu" id="js-main-nav">
                <ul class="nav navbar-nav navbar-nav-alt">
                    <?php mtk_show_widgets("menu_left"); ?>
                </ul>
                <ul class="nav navbar-nav navbar-right navbar-nav-alt">
                    <?php mtk_show_widgets("menu_right"); ?>
                </ul>
            </div>
        </div>
    </div>
    <div class="header-widgets">
        <?php mtk_show_widgets("header"); ?>
        <?php
        
if (mtk_is_user_page()) {
            
osc_current_web_theme_path("parts/user/menu.php");
        }

            
mcf_show_flash_message();
        
?>

    </div>
</header>

Hi,

Yes the RSS link is https://www.postfreeonline.com/feed  but its not generating correctly.  I am talking about where to add below solution provided because is there is no head.php in theme folder of McFly theme.

--------------------------

How to add RSS autodetection for browsers  to your  os class web-site :

Go to your theme folder

in file head.php - somewhere between <head> and </head> insert this:

Code: [Select]
<link rel="alternate" type="application/rss+xml" title="Title" href="https://www.postfreeonline.com/index.php?page=search&sFeed=rss" />

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: SOLVED: no RSS feeds ?
« Reply #10 on: July 28, 2017, 09:31:18 am »
If you put that line in header it won't solve your xml parsing problem....
That line worked in older browsers in the way that it showed the rss icon somewhere near the navigation address bar and if you clicked on it it would have been opened the rss link, which in your case isn't working.

I have no idea why the rss isn't working for you.
Try swiching to bender theme and see if the problem persists.
Also if you have plugins, test the rss without them (disable them).
Look in your error logs.

PostFreeOnline.Com

  • Jr. Member
  • **
  • Posts: 77
  • PostFreeOnline.Com
Re: SOLVED: no RSS feeds ?
« Reply #11 on: July 28, 2017, 01:55:00 pm »
So should i contact to Theme Developer of McFly for solving RSS generation issue because there is no head.php in theme folder. 

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: SOLVED: no RSS feeds ?
« Reply #12 on: July 28, 2017, 02:02:54 pm »
The feeds are working in bender theme?