• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Gebruik CGFeedmaker
PostPosted: Thu Feb 24, 2011 3:50 pm 
Offline
Power Poster
Power Poster

Joined: Thu May 04, 2006 9:12 am
Posts: 298
Ik ben al een tijdje bezig om een RSS feed te laten maken van een bepaalde pagina. Ik heb daarvoor CGFeedMaker geinstalleerd en op basis van de gegeven uitleg tags aangemaakt en op de aangegeven plaatsen aangebracht.
Echter, er wordt hierna geen feed aangemaakt. Ik krijg niets te zien. Kan iemand mij helpen met een stap-voor-stap uitleg hoe CGFeedMaker geinstalleerd moet worden en wat ik exact moet doen om te komen tot een geldige creatie van een RSS feed ?
Alvast dank


Top
 Profile  
 
 Post subject: Re: Gebruik CGFeedmaker
PostPosted: Thu Feb 24, 2011 4:16 pm 
Online
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3647
Location: The Netherlands
Ik heb laatst hetzelfde geprobeerd bij een site, met hetzelfde resultaat. Ik ben dus ook wel benieuwd.

De betreffende site draait echter op een windows server en maakt gebruik van de internal pretty urls setting. Dus htaccess tweaks zijn niet mogelijk en de url ziet eruit als http://www.sitenaam.nl/index.php/pagina-alias
Misschien dat het daar wat mee te maken heeft?

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Gebruik CGFeedmaker
PostPosted: Tue Mar 01, 2011 4:27 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Thu Mar 23, 2006 9:25 am
Posts: 1425
Location: The Netherlands
Het werkt bij mij. Hoe heb ik het gedaan....

In de template in de head-sectie:
Code:
{CGFeedMaker action='autodiscovery' feed='news'}


Ergens in de body-sectie (al naar gelang de lay out van je pagina)
Code:
{CGFeedMaker action='rsslink' feed='news' imageonly='' image='uploads/images'


Bij CGFeedmaker 'news' gebruikt, alles ingevuld en de template ingesteld. Ik weet niet meer exact wat ik daar nou heb veranderd of gedaan, maar met deze template werkt het (bij mij dan ;) )
Code:
{* original rss feed template *}
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
  {* note: if you have not configured pretty urls or mod rewrite, the next line may fail when trying to validate the feed *}
  <atom:link href="{$feed_url}" rel="self" type="application/rss+xml" />
    <title>{$feed.title}</title>
    {if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
    {if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
    {if isset($feed.copyright) && !empty($feed.copyright)}<copyright>{$feed.copyright}</copyright>{/if}
    {if isset($generator)}<generator>{$generator}</generator>{/if}
    {if isset($feed.managing_editor) && !empty($feed.managing_editor)}<managingEditor>{$feed.managing_editor}</managingEditor>{/if}
    {if isset($admin_email)}<webMaster>{$admin_email} ({$admin_user->firstname} {$admin_user->lastname})</webMaster>{/if}
    {if isset($feed.image) && !empty($feed.image)}
      <image>
    {if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
        {if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
        <title>{$feed.title}</title>
        <url>{$file_location}/{$feed.image}</url>
      </image>
    {/if}

    {* an example of how to create a feed from a call to the news module *}
    {* you can use any smarty variable that is available in the news summary template *}
    {* you can substitute this logic with output from any module that supports a summary
       view, or possibly get artistic and mix output from different modules *}
{CGBlog assign='junk'}
    {foreach from=$items item='entry'}
    <item>
      <title>{$entry->title|cms_html_entity_decode}</title>
      <link>{$entry->detail_url}</link>
      {capture assign='description'}{if $entry->summary}{eval var=$entry->summary}{else}{eval var=$entry->content}{/if}{/capture}
      <description>{$description|trim|strip_tags|summarize:80}</description>
<enclosure url="{$entry->extra}" length ="" type="audio/mpeg"/>
      <pubDate>{$entry->postdate|rfc_date}</pubDate>
      <guid>{$entry->detail_url}</guid>
    </item>
    {/foreach}
  </channel>
</rss>


Voor een live demo http://www.uisge-beatha.eu/

Hopelijk helpt dit.

Gregor


Top
 Profile  
 
 Post subject: Re: Gebruik CGFeedmaker
PostPosted: Tue Mar 01, 2011 7:45 pm 
Online
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3647
Location: The Netherlands
Met de op 27 februari jl. gereleaste versie 1.0.13 van CGFeedmaker heb ik de zaak wel aan de praat gekregen. Er lijkt alleen nog een bugje in te zitten bij het toevoegen/wijzigen van feeds, maar ws alleen als je geen image opgeeft. Ik heb me ermee gered.. klaar :D

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Gebruik CGFeedmaker
PostPosted: Thu Mar 03, 2011 4:17 pm 
Offline
Power Poster
Power Poster

Joined: Thu May 04, 2006 9:12 am
Posts: 298
Allemaal gelukt, bedankt


Top
 Profile  
 
 Post subject: wil een rss feed maken van mijn eigen pagina?
PostPosted: Mon Feb 27, 2012 6:13 pm 
Offline
Forum Members
Forum Members

Joined: Thu Sep 18, 2008 2:21 pm
Posts: 29
Dag allemaal!

Het is mij nog niet gelukt! met CGFeedMaker 1.0.14 (Calguy's Feed Maker)


Wat niet:

Ik wil van een eigen pagina een rss feed laten maken maar raar genoeg lijkt het wel of ik alleen maar van de news pagina een feed kan maken.

Ik wil van mijn portfolio pagina een rss feed maken (http://djwmedia.nl/portfolio.html).
Wat ik dacht te begrijpen.

Op de portfolio pagina dit plaatsen {CGFeedMaker action='autodiscovery' feed='portfolio'}
Dit geeft die in HTML als output <div id="content"><link rel="alternate" type="application/rss+xml" title="Portfolio DJW Media - reclamebureau" href="http://djwmedia.nl/feeds/portfolio.rss" />

In CGfeedmaker portfolio feed aan te maken
Feed Naam/Alias: portfolio

Gebruik RSS2HTML om de rss weer te geven
portfolio {RSS2HTML feed='portfolio'}
Dit is de rss feed: http://djwmedia.nl/feeds/portfolio.rss en krijg nu de news modulle te zien?

Alvast bedankt


Top
 Profile  
 
 Post subject: Re: Gebruik CGFeedmaker
PostPosted: Mon Feb 27, 2012 8:31 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Thu Mar 23, 2006 9:25 am
Posts: 1425
Location: The Netherlands
Ik zou in de source van je pagina deze tag verwachten {CGFeedMaker action='autodiscovery' feed='portfolio'}, althans de uitput daarvan.

Je portfolio, in welke module heb je dat gemaakt?

Wil je de template van je rss-feed eens posten.

Gr.,
Gregor


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner