I have added two feeds, on globally and one to just one page, but none of them is showing up.
Is there something that I must add to the code or some setting that needs to be set?

Comments

todd nienkerk’s picture

You'll need to give me more information to help you. You don't need to add anything to the code; all you need is (1) the feed's path and (2) the prefix of the URL you want the feeds published to.

stevenpatz’s picture

Component: Code » Documentation
Category: bug » support
Status: Active » Postponed (maintainer needs more info)
lomz’s picture

What information do you need?
I have enabled the module, and I added the feed http://vindstille.net/ikkeforside/feed to the path http://vindstille.net/ikkeforside
It doesnt show up.

I also tried it on a global site, but we can use the one I mentioned for testing.

Might it be possible that it need some change to the weightsetting for the module?

todd nienkerk’s picture

Does the feed appear as a
element in the document's ? Is there an RSS icon in your browser's URL bar?

I see one feed that might be published using this module. Is this it?

<link rel="alternate" type="application/rss+xml" title="Vindstille.net - Alle innlegg" href="/feed/alle" />

Finally, did you remove the call to <?php print $head ?> in your theme's page.tpl.php file? This is where the
elements are outputted.

lomz’s picture

No, that one is added by hardcode.
And I did not remove the the head call.

The feed I added with feed_path is the feed Vindstille.net - All with path "alle"

david strauss’s picture

Can you attach a dump of your feed_path_publisher table?

lomz’s picture

-- phpMyAdmin SQL Dump
-- version 2.10.1
-- http://www.phpmyadmin.net
-- --------------------------------------------------------

-- 
-- Table structure for table `feed_path_publisher`
-- 

CREATE TABLE `feed_path_publisher` (
  `fppid` int(10) unsigned NOT NULL auto_increment,
  `title` varchar(50) NOT NULL,
  `path_prefix` varchar(100) NOT NULL,
  `feed` varchar(200) NOT NULL,
  PRIMARY KEY  (`fppid`),
  UNIQUE KEY `path_prefix` (`path_prefix`,`feed`),
  KEY `listing` (`path_prefix`,`title`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

-- 
-- Dumping data for table `feed_path_publisher`
-- 

INSERT INTO `feed_path_publisher` (`fppid`, `title`, `path_prefix`, `feed`) VALUES 
(1, 'Vindstille.net - All', '', 'alle'),
(2, 'Vindstille.net - Innlegg som ikke er på forsiden', 'ikkeforside', 'ikkeforside/feed');
david strauss’s picture

We'd also like a copy of your page.tpl.php.

lomz’s picture

Do you need more than the top?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" $
  <head>
    <title><?php print $head_title ?></title>
<link rel="alternate" type="application/rss+xml" title="Vindstille.net - Alle i$
    <?php print $head ?>
    <?php print $styles ?>
    <?php print $scripts ?>
    <style type="text/css" media="print">@import "<?php print base_path() . pat$
    <!--[if lt IE 7]>
    <style type="text/css" media="all">@import "<?php print base_path() . path_$
    <![endif]-->
  </head>
  <body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); ?>>

<!-- Layout -->
david strauss’s picture

I don't need more than the top, but I do need to see it without being cut off on the right.

lomz’s picture

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
  <head>
    <title><?php print $head_title ?></title>
<link rel="alternate" type="application/rss+xml" title="Vindstille.net - Alle innlegg" href="/feed/alle" />
    <?php print $head ?>
    <?php print $styles ?>
    <?php print $scripts ?>
    <style type="text/css" media="print">@import "<?php print base_path() . path_to_theme() ?>/print.css";</style>
    <!--[if lt IE 7]>
    <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style>
    <![endif]-->
  </head>
  <body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); ?>>

<!-- Layout -->
david strauss’s picture

Release 1.1 adds support for path aliases, which I believe you're using. Please see if 1.1 works for you.

david strauss’s picture

Status: Postponed (maintainer needs more info) » Fixed
lomz’s picture

Status: Fixed » Active

It still doesnt show, might it be something with module-weight that does it?
On the install you have what weight does it have in the modules-databasetable?

david strauss’s picture

It's really not a problem with module weight.

david strauss’s picture

Are you running i18n on your site? That can mess with paths.

lomz’s picture

No, no such thing, you can see all my used modules here: http://vindstille.net/moduler

christefano’s picture

@lomz: have you done a conflict test by disabling your other contrib modules?

lomz’s picture

Which ones?

christefano’s picture

All of them. Disable them one by one or in groups to find the one that includes the incompatible module.

lomz’s picture

I'm not quite sure what fixed it, but after I downloaded the new version (august 5.) the feeds appeared where it should, I just changed the module-weight in the system-table in the database to -5 instead of 0.

Now it works and it shows up before the atom.module and commentrss.module, both of them sets the module-weight to 0.

todd nienkerk’s picture

Status: Active » Fixed

Hooray! Closing the issue.

todd nienkerk’s picture

Status: Fixed » Closed (fixed)

Haven't heard any complaints. Closing the issue.