added a block to content area instead.

I added the code in a block instead of the template. I keep it out of admin, node add/edit pages etc. using the block admin interface.

Used REQUEST_URI instead of node_url as in the feedburner site example. Seems to work OK so far.

<script src="http://feeds.feedburner.com/~s/YourFeedAddress?i=http://www.example.com<?php print $_SERVER['REQUEST_URI'] ?>" type="text/javascript" charset="utf-8"></script>

REQUEST_URI may display different info depending on your server. But it works in my lighttpd setup.

Joe

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4>
  • Lines and paragraphs break automatically.

More information about formatting options