TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,219
  • Total Topics: 21,352
  • Online today: 556
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Rss Reader / Aggregator

Started by Fallen05, September 05, 2008, 11:35:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fallen05

Hello!

I've been on and off using TP for quite some time now (easily one of the best free pieces of software i've seen on the net).

I do have one small problem though, i'd like to be able to have the Articles section of my home page parse an RSS feed or 2, does anyone know of a mod or a technique to do this?

I'm pretty good at learning, though my current php knowledge is pretty bad, i can usually find my way around it to make changes allright.

Thanks in advance
Michael

(Also.. I did search the forum's.. couldn't see anything)

To the grammar and spelling police: Sorry... :)

Ianedres

I actually made a php article and implemented Google's AJAX Feed API (link) for some flexibility...

Dynamic drive has some good examples of how to get some content fast, since Google isn't exactly 'entry-level' programming (at least for me!).

http://dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm

Fallen05

Thanks for the quick reply Ianedres.. though i've no idea how i'm going to get it to work (i'm getting the concept.. i just suuuck at coding :D )

On that note, can you create new pages in TP? out of curiosity?

Ianedres

I personally prefer to write php in DreamWeaver, which gives me features for error-checking, indention, and so forth. I then use the php article in TinyPortal with an include() statement to load the page...   seamless integration.

By using the 'query title', I can refer to the page directly through the path to my forum's index.php, followed by ?page=xxxxxx. You can then use that format to add content to your site quickly and easily.

As for the Google Feed API, you can play around with that and work it into your site with a little effort.

Fallen05

I kinda gave up :) i'll admit (kept getting unexpected parse error..)

I might well give it another go, i'm not sure if i was supposed to be modifying the templates index php, or the indexphp of TP/SMF.


Ianedres

You do not have to edit any of the TP or SMF files to add content- just add an article through the admin panel.

Your could write your script outside of TP and get it working on your server first. Once you get the desired result, you can work it into the TP article system.

Bluto

Correct me if I'm wrong here Ianedres, but what he's saying Fallen05 is,
that he creates his pages and scripts using Dreamweaver on his comp that's hooked into an internal "server" if you will, like Easyphp or Xammp.These programs create servers and databases on your comp so you can test things before you upload them.This way he sees if his code is working. When he gets the results he wants on his comp. he then creates an article in TP using the copy and code he wrote in Dreamweaver.
Hope this helps and if you already knew this, just disregard my novice input.
:)

Fallen05

I've been playing about with various php aggregators for a while now, i'm now looking for something to filter out posts.

Eg: i only want posts on a certian topic

Any thoughts on how i can do this locally?

This website is proudly hosted on Crocweb Cloud Website Hosting.