- Moderated by:
- Support
-
- rank:
-
Professional
- registered:
- December 1969
- Status:
- offline
- last visit:
- 17.06.04
- Posts:
- 2122
On this site http://mswebdesign.com/index.php I want to create a newsfeed from this site http://infoprosjoint.net/index.php
So I go into admin panel, and click blocks, new block.
I type in the title Infopro's Joint Newsfeed, and on the next line where it says block, I use the drop down to find Core/RSS Newsfeed, I pick that one. position? I want it on the right, down bottom. language is in English.
Hit commit. On the next page, i check my settings, and on the line where it says RSS File URL:
I add this URL http://infoprosjoint.net/backend.php
I choose 5 for max articles, and I leave the rest blank. (you can play around with those, see what you like) I have it set to update on the hour.
I go back to the main page and see it's up a bit higher than I want, so I go back to the admin panel, blocks , and look for the arrow on the left and hit it a few times till it's only got an arrow pointing up, this means it's at the bottom now.
This does not work all that great IMHO, Meaning you may have to hit it a number of times to move it down.
I had to hit mine 22 times to get it to go to the bottom of that page LOL
But it's down there now, and you can view it in action.
As you'd see, I have also the PostNuke newsfeed there.The image shows for that RSS feed, but not from IJ, dunno why. I have the box checked, and an image in place.
Another few bugs I'm sure. but hey, it's alpha soft right?
Good luck... -
- rank:
-
Professional
- registered:
- December 1969
- Status:
- offline
- last visit:
- 30.12.05
- Posts:
- 1310
I have made several fixes to backend.php and understand practical RSS. I tried to access your links and could not. Since I'm not sure I understand exactly where your problem is, I hesitate to suggest a solution.
Send me an email (crs@mtrad.com) and I'll try to help you.
Craig -
- rank:
-
Professional
- registered:
- December 1969
- Status:
- offline
- last visit:
- 17.06.04
- Posts:
- 2122
We've upgraded, and shortened the URL. It's still there
I don't have a problem though, I was posting in this, the tutorial section to help others with this. ;)
Sorry about the dead links, but it had to be done.
I just edited the post accordingly... -
- rank:
-
Freshman
- registered:
- March 2003
- Status:
- offline
- last visit:
- 06.04.03
- Posts:
- 26
Thank you for the introduction. I have a more complex question about how to tweak the core RSS to display a feed with different properties.
I found this file:
HTML\includes\blocks\rss2.php
I assume it's the file I need to tweak. However I can't figure out what to do and how to begin. Here's what I want to do:
I want to add the source name and URL that displays in the RSS like this:
<source url="http://news.bbc.co.uk/hi/english/world/">BBC World</source>
Also, I want to add a field called "pubDate" that looks like this:
<pubdate>Mon, 16 Jun 1969 03:55:29 GMT</pubdate>
How can I add these two new fields into that rss2.php file?
Thank you for your help,
pw -
- rank:
-
Freshman
- registered:
- March 2003
- Status:
- offline
- last visit:
- 06.04.03
- Posts:
- 26
hi,
Does anyone know how to aid me? I think the programming side is rather simple, with only adidtion of a few lins in the right places. But, I am not a great programmer and need to know where to add those lines of variables, etc.
Thank you,
I Feel Like A Paperweight :? -
- rank:
-
Softmore
- registered:
- June 2002
- Status:
- offline
- last visit:
- 13.09.04
- Posts:
- 81
Hi there,
the tutorial how to implement this feed within PostNuke sites is simple, but what do I do when I want to create a feed from another website? For example, thereīs a PHP newspusher, that creates a HTML file:
http://www.edition-d…news/data/news.html
I managed to create a rss file at
http://www.edition-deutsch.de/news/data/rss.php
with the help of tutorials at
http://www-106.ibm.c…/library/w-rss.html and
http://www.webrefere…/languages/xml/rss/
I also found this:
http://www.perl.com/…15/creatingrss.html
but I donīt know anything about perl, so I wasnīt able to use it.
Online, thereīs a nice converter for html2xml, but for some reason PostNuke canīt use the result.
http://www.html2xml.…Html2XmlConvert.asp
Anyone know why?
best regards,
Grendel -
- rank:
-
Helper
- registered:
- June 2002
- Status:
- offline
- last visit:
- 25.07.05
- Posts:
- 281
hey there, Grendel.
Try to validate the file that you generated with html2xml.
When I tried it, it didn't validate. If you can generate a valid
file, either with this tool or another one, make sure it is
RSS v. 0.91, i.e., the type that the PN parser can parse.
Cheers.
--
irc://irc.freenode.net/issho
talking.to/tony
-
- rank:
-
Softmore
- registered:
- June 2002
- Status:
- offline
- last visit:
- 13.09.04
- Posts:
- 81
Hi Laszlo,
nice to see you again
Say, youīre not in Korea between the 11th and 5th of May?
About the html2xml conversion, this is something I canīt really use as I have a source that changes every other day. From that source, Iīd need either some kind of script that automatically (without me visiting and pushing buttons *hehe) creates that 0.91 rss file. Unfortunately, it looks like to generate something like that, a pearl script is neccessary. Alternatively, I had seen a tutorial somewhere on the net that explained how to add tags to a forum (a newspusher is similar enough for me
) to make it create a rss feed, but I canīt find it anymore.
bye
Grendel -
- rank:
-
Helper
- registered:
- June 2002
- Status:
- offline
- last visit:
- 25.07.05
- Posts:
- 281
grendelshitsuren
Say, youīre not in Korea between the 11th and 5th of May?
no, but I take it you will be. :)
I may be in Nagasaki for a few days near the end of that period. Otherwise, it is just Tokyo as usual, for the most part.
Quote
Unfortunately, it looks like to generate something like that, a pearl script is neccessary. Alternatively, I had seen a tutorial somewhere on the net that explained how to add tags to a forum (a newspusher is similar enough for me
) to make it create a rss feed, but I canīt find it anymore.
you might try studying up on "scraping" techniques and tools.
You might find something that you can use without developing a 0.91 feed on the source side.
The scraper in MyHeadlines might also work for you, if your receiving site can run it.
--
irc://irc.freenode.net/issho
talking.to/tony
-
- rank:
-
Freshman
- registered:
- May 2003
- Status:
- offline
- last visit:
- 02.12.03
- Posts:
- 8
paperweight
Thank you for the introduction. I have a more complex question about how to tweak the core RSS to display a feed with different properties.
I found this file:
HTML\includes\blocks\rss2.php
I assume it's the file I need to tweak. However I can't figure out what to do and how to begin. Here's what I want to do:
I want to add the source name and URL that displays in the RSS like this:
<source url="http://news.bbc.co.uk/hi/english/world/">BBC World</source>
Also, I want to add a field called "pubDate" that looks like this:
<pubdate>Mon, 16 Jun 1969 03:55:29 GMT</pubdate>
How can I add these two new fields into that rss2.php file?
Thank you for your help,
pw
*BUMP* ;)
Does anyone have any solid info on this yet?
Thanks!
