Welcome Guest ( Log In | Register )

UploadScript

Check out the FREE chatroom mod for IPB 3.x

> About IPB SDK

Bugs should be reported on the Bug Tracker. To download the latest bleeding-edge version of the SDK, head over the SVN repository.

2 Pages V   1 2 >  
Reply to this topicStart new topic
Atom Syndicator v1.0
cowweb
post May 16 2004, 06:48 AM
Post #1


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Atom Syndicator v1.0

Category: Website Integration

Compatibility: Invision Board 1.3 Final

Demo: http://ipbsdk.sourceforge.net/atom/

Description:

This mod allows you to create a Atom feed which can allow visitors, and other sites syndicate your content. This mod generates Atom 0.3 feeds.

Features
- Export from one forum, multiple forums, or all forums
- Limit amount of exported news
- Ability to follow or ignore forum permissions
- Ability to show different content to different users
- Generates valid Atom
- Applies an XSLT transformation to give users more information on how to apply a feed, and so the user will not see XML.

Requires: IPB SDK 1.1

View This Mod


--------------------
Go to the top of the page
 
+Quote Post
cowweb
post May 17 2004, 10:22 AM
Post #2


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



For anyone interested the W3C are currently looking at establishing a Atom Working Group. http://www.w3.org/2004/05/10-atom. This is W3C inviting Atom, not the other way around. They're currently stuck between whether to establish at the IETF or W3C, and Google have chosen Atom.

http://www.isolani.co.uk/blog/atom/W3cInvi...ngGroupProposal
http://www.bestkungfu.com/archive/?id=475

Definetly an emerging technology smile.gif


--------------------
Go to the top of the page
 
+Quote Post
rbl
post May 18 2004, 04:46 AM
Post #3


Newbie
*

Group: Members
Posts: 36
Joined: 22-August 03
Member No.: 36,966



Well.. I started feeling unnatural male feelings for you after I saw you made a atom syndicator.. it was a lets-get-married-and-run-away-together love but after fiddling for a while with the files and a couple of atom readers without getting them to display any kind of description, I'm back to normal wink.gif

My feeds are valid but empty.
Now I notice that your demo has the same behavior... shouldn't it display an excerpt of the post?

btw, in atom.php I've changed the $items "id" from
< id >'.$settings['feed_website'].'?p='.$i['tid'].'< /id >
to:
< id >'.$settings['board_uri'].'?p='.$i['tid'].'< /id >
because the links were myforum.tld?p=xxx

This post has been edited by rbl: May 18 2004, 04:52 AM
Go to the top of the page
 
+Quote Post
cowweb
post May 18 2004, 04:55 AM
Post #4


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Hi there,

The id is only a permenant ID for the post which should never change. Most readers should ignore it anyway, it's the text/html alternative link for that item which matters smile.gif

The only description is displays is the description of the topic itself, it doesn't display the first post as the description. Sure it's possible, it's SDK so should be a case of just changing the array key used smile.gif

The feed works well on my built in RSS reader in FireFox, I believe I'm using the atom feed, but I'll check tonight just incase I'm using the RSS feed.


--------------------
Go to the top of the page
 
+Quote Post
cowweb
post May 18 2004, 10:15 AM
Post #5


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Switched my RSS reader to read from Atom, works for me.


--------------------
Go to the top of the page
 
+Quote Post
rbl
post May 19 2004, 04:56 PM
Post #6


Newbie
*

Group: Members
Posts: 36
Joined: 22-August 03
Member No.: 36,966



the descriptions in your demo are also empty. is this normal?
Go to the top of the page
 
+Quote Post
xmitchx
post May 19 2004, 05:14 PM
Post #7


Member
**

Group: Members
Posts: 108
Joined: 16-May 04
From: Southern California, USA
Member No.: 108,260
IPB Version: 1.3.x



QUOTE(rbl @ May 19 2004, 10:56 PM)
the descriptions in your demo are also empty. is this normal?

Its because the topics dont have any descriptions. If you go to the actually IPB SDK forum's announcements, you'll see all topics have 0 descriptions. So yes, its normal smile.gif
Go to the top of the page
 
+Quote Post
Technel
post May 22 2004, 12:11 PM
Post #8


Member
**

Group: Members
Posts: 136
Joined: 5-July 03
From: 127.0.0.1
Member No.: 25,010
IPB Version: 1.3.x



Okay....

1. In my RSS reader it says:

QUOTE
Title
Posted by Michael on SITE.com


I know how to change the thing after the ON, but how do I completely disable that?

2. How do I get it to fetch from multiple forums? In the config file I have:

CODE
/* If you use "forumid" => intval($_GET['forumid']) then you
can set this from the URI. You can also use an array of forum
IDs or the string "*" to get news from all forums. */
"forumid" => "1,18,19,20",


Yet it only fetches from forum ID 1.

Please help! Thanks


--------------------
Go to the top of the page
 
+Quote Post
cowweb
post May 22 2004, 12:37 PM
Post #9


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



QUOTE(Technel @ May 22 2004, 07:11 PM)
2. How do I get it to fetch from multiple forums? In the config file I have:

CODE
/* If you use "forumid" => intval($_GET['forumid']) then you
can set this from the URI. You can also use an array of forum
IDs or the string "*" to get news from all forums. */
"forumid" => "1,18,19,20",


Yet it only fetches from forum ID 1.

Please help! Thanks

The way to do it is "forumid" => array(1,18,19,20),

Cow


--------------------
Go to the top of the page
 
+Quote Post
Technel
post May 22 2004, 12:39 PM
Post #10


Member
**

Group: Members
Posts: 136
Joined: 5-July 03
From: 127.0.0.1
Member No.: 25,010
IPB Version: 1.3.x



QUOTE(cowweb @ May 22 2004, 06:37 PM)
The way to do it is "forumid" => array(1,18,19,20),

Cow

Cool!!

Thanks. But how do I get read of the "on mywebsite.com" thing after the "By myname"?

Huge thanks for the quick response.


--------------------
Go to the top of the page
 
+Quote Post
cowweb
post May 23 2004, 01:40 AM
Post #11


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Hey,

I didn't understand your question:) Where did you want this to be shown?

Cow


--------------------
Go to the top of the page
 
+Quote Post
Technel
post May 23 2004, 08:24 AM
Post #12


Member
**

Group: Members
Posts: 136
Joined: 5-July 03
From: 127.0.0.1
Member No.: 25,010
IPB Version: 1.3.x



No....when I go on Bloglines this is how it looks:

QUOTE
Title
By name on website

Fri, 21 May 2004 07:00 PM
Updated Sat, 22 May 2004 01:34 AM


1. I don't want "on website" to be there! Why is that there?? It says that on all of them....

2. On EVERY SINGLE ARTICLE it says it is posted the correct date, but then updated the next day, even though it never was.

So if I posted something on the 21st, it would say:

QUOTE
Fri, 21 May 2004 07:00 PM
Updated Sat, 22 May 2004 01:34 AM


More examples:

QUOTE
Tue, 18 May 2004 07:00 PM
Updated Wed, 19 May 2004 08:43 AM


QUOTE
Fri, 14 May 2004 07:00 PM
Updated Sat, 15 May 2004 10:11 AM


QUOTE
Thu, 13 May 2004 07:00 PM
Updated Fri, 14 May 2004 09:06 AM



So how do I fix these problems?


--------------------
Go to the top of the page
 
+Quote Post
cowweb
post May 23 2004, 10:31 AM
Post #13


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



I don't know whether these are actually problems with the mod or the software. There is a setting in atom_config.php to change the website name, and the modified/created/posted date should be the same. Could you post the URL to your feed for further investigation?

Cow


--------------------
Go to the top of the page
 
+Quote Post
Technel
post May 23 2004, 07:16 PM
Post #14


Member
**

Group: Members
Posts: 136
Joined: 5-July 03
From: 127.0.0.1
Member No.: 25,010
IPB Version: 1.3.x



http://www.dailybyte.net/atom59/


--------------------
Go to the top of the page
 
+Quote Post
cowweb
post May 24 2004, 10:24 AM
Post #15


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Looks fine to me. Probably the parser.. Hm


--------------------
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 15th March 2010 - 08:20 AM
Invision Skins · IPB Skins