Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 08:24:29 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149682 Posts in 21102 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Module Topics: Rss  (Read 1183 times)
avitaly

Offline Offline

Posts: 33


« on: March 10, 2010, 09:13:43 AM »

I cannot get a RSS feed for the module Topics: when calling it with "http://www.mysite.eu/modules/topics/rss.php" or  "http://www.mysite.eu/modules/topics/rss.php?page_id=3" I get the message "Cannot access this file directly".

What's the url of rss feeds?

Thank you in advance!

PS: I know there is a thread about it, but it is in German and refers to podcasts. I really couldn't understand the point! smiley))
Logged
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #1 on: March 10, 2010, 10:16:38 AM »

As far as I understand from the German discussions the RSS function of Topics is just a relic from the News module, and not ready to use. You should do a lot of custom coing to get it to work. So maybe you can use of of those online RSS creators, that allow you to create RSS feeds from any structured webpage. A quick Google led me to http://www.tothepc.com/archives/how-to-create-rss-feed-of-your-favorite-website for example, where a few of those servcies are mentioned, but there must be more.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
avitaly

Offline Offline

Posts: 33


« Reply #2 on: March 10, 2010, 10:44:31 AM »

... well, if it is so, I think I will use the news module. Do you know how to prevent it to update rss afterhaving edited a post (i.e. for ortographic mistakes)? the news module change the date of the post!
Logged
chio
WebsiteBaker Org e.V.

Offline Offline

Posts: 2264


« Reply #3 on: March 10, 2010, 11:24:49 AM »

The rss.php of Topics isnt a relic, it works different to the rss.php of the news module.

But I fear I have made a little mistake in one of the last versions of Topics, the rss doest work if you have a fresh installation.
Logged

*weg*
avitaly

Offline Offline

Posts: 33


« Reply #4 on: March 10, 2010, 12:12:16 PM »

The rss.php of Topics isnt a relic, it works different to the rss.php of the news module.

But I fear I have made a little mistake in one of the last versions of Topics, the rss doest work if you have a fresh installation.

So it is not possible to use it at all?  huh
Logged
chio
WebsiteBaker Org e.V.

Offline Offline

Posts: 2264


« Reply #5 on: March 10, 2010, 01:00:49 PM »

the topics-rss works different, because you can have different kinds of sorting, even different kinds of usage of Topics. the rss-feed should have the same sorting and usage.
And there is another reason, I dont talk too much about wink

I am working on Topics 0.5; then it will work (again)
Logged

*weg*
avitaly

Offline Offline

Posts: 33


« Reply #6 on: March 10, 2010, 04:09:10 PM »

wow! grin

anyway, it should be useful a help file or something ...

« Last Edit: March 10, 2010, 04:16:45 PM by avitaly » Logged
mjm4842

Offline Offline

Posts: 227


« Reply #7 on: August 10, 2010, 04:29:18 PM »

I fear I have made a little mistake in one of the last versions of Topics, the rss doest work if you have a fresh installation.

So if it is just a little mistake, what's the quick fix for 0.4.2? Modify the database? Change something in the code? Please let us know.

I just need it to work for now until you release v0.5 or 0.6.

Michael
Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
mjm4842

Offline Offline

Posts: 227


« Reply #8 on: August 10, 2010, 08:56:30 PM »

While we are all patiently awaiting the arrival of v0.5 or v0.6, please find a new ZIP file attached to this message which contains a modified version of v0.4.2. If you don't see the attachment, you are probably not logged into the forums.

What's New in v0.4.2a

The only change is that the rss.php file now works. It now also sends XML to the browser even if there are no topics to list. At least you know it's working that way.

By default, accessing the file directly will show the first Topics list found in the Topics Settings table. If you only have one, this will work fine for you. Just accessing the file directly. Example:

http://www.yourdomain.tld/modules/topics/rss.php

If you have more than one topics list on your site, you will need to manually create a link in the following format:

http://www.yourdomain.tld/modules/topics/rss.php?s_id=X

... where you must replace X with the number of your Topics section as displayed when editing the topics page in the back end (admin site)

IMPORTANT: Don't forget to replace "yourdomain.tld" with your own domain.

Troubleshooting

If you try it and nothing appear in your browser, it is most likely because it is not finding the right section. Just use the second syntax listed above with the correct section ID number and everything should work fine.

Best regards,

Michael Milette

___________________ ________
TNG Consulting Inc.
Provinding Sustainable Solutions for Life
www.tngconsulting.c a
« Last Edit: August 10, 2010, 10:17:02 PM by mjm4842 » Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
chio
WebsiteBaker Org e.V.

Offline Offline

Posts: 2264


« Reply #9 on: August 11, 2010, 07:28:39 AM »

I have uploaded Topics 0.6 to AMASP
http://www.websitebakers.com/pages/modules/interaction/topics.php

But I must say, I didn care too much about rss-feed, for I dont use RSS on any page...

There is one important difference between older and newer Topics-Versions:
Code:
include (WB_PATH."/modules/topics/defaults/module_settings.default.php");
include (WB_PATH."/modules/topics/module_settings.php");
Note: /topics/defaults/module_settings.def ault.php

These 2 files are the same at first, but there should always be loaded both:
module_settings.def ault.php -> Is overwritten by an upgrade, may contain new variables.
module_settings.php -> will NEVER be overwritten, this file is for your personal settings.

There are very much options and sorting possibilties now in Topics; its better to have your "own" rss.php outside the modules/topics/ directory. There will not be any changes in the database structure, so you simply can hardcode some variables in rss.php

 
« Last Edit: August 11, 2010, 07:33:34 AM by chio » Logged

*weg*
erpe

Offline Offline

Posts: 2077


WWW
« Reply #10 on: August 11, 2010, 08:53:33 AM »

Hi Chio

thanks for new release.
Will there be problems if a topics.0_5 releaese will be updated?

rgds

erpe
Logged

chio
WebsiteBaker Org e.V.

Offline Offline

Posts: 2264


« Reply #11 on: August 11, 2010, 08:56:38 AM »

No - I dont think.
Logged

*weg*
erpe

Offline Offline

Posts: 2077


WWW
« Reply #12 on: August 11, 2010, 09:08:40 AM »

Thanks
Logged

BlackBird

Offline Offline

Posts: 1937



WWW
« Reply #13 on: August 11, 2010, 11:13:36 AM »

No - I dont think.

Du denkst nicht? rolleyes Nie? Oder nur manchmal nicht? cheesy Sorry. rolleyes

[admin: Please use English only.]
« Last Edit: August 11, 2010, 11:30:34 AM by Argos » Logged

Alle großen Veränderungen beginnen im Kleinen
mjm4842

Offline Offline

Posts: 227


« Reply #14 on: December 29, 2010, 07:01:38 PM »

I finally upgraded to v0.6 of Topics. In the process, I had to fix the RSS component.

A fixed version of the rss.php file for Topics v0.6 is now available. It includes a number of other fixes as well. For details and download info, see http://www.websitebaker2.org/forum/index.php/topic,12627.msg137556.html#msg137556

With best regards,

Michael
Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!