1
masterboy
How 2 put recent news on a non-xoops site,,?
  • 2004/12/14 14:03

  • masterboy

  • Just popping in

  • Posts: 7

  • Since: 2003/1/9 1


Hello,
I want to put the recentnews on my homepage.
This is a non-xoops page. How can i do that?
And the blocks says:
<ul>
  <{foreach 
item=news from=$block.stories}>
    <
li><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>"><{$news.title}>a> (<{$news.date}>)li>
  <{/foreach}>
ul>

<{/foreach}> uh., yeah shure..:p?

please help me!

2
Herko
Re: How 2 put recent news on a non-xoops site,,?
  • 2004/12/14 14:15

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


find a script that can show an RSS feed, and do an include.

Herko

3
irmtfan
Re: How 2 put recent news on a non-xoops site,,?
  • 2004/12/14 14:21

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


this is not clear for me.you want to show news from your site to another site or weblog?
if your page does not support rss maybe you must use a java script for show news

4
masterboy
Re: How 2 put recent news on a non-xoops site,,?
  • 2004/12/14 14:26

  • masterboy

  • Just popping in

  • Posts: 7

  • Since: 2003/1/9 1


I want that people can see what's recently news on my startpage (no weblog).
But i think that it is inpossible.. I can't write RSS..

Excuse me for the double post!

5
masterboy
Re: How 2 put recent news on a non-xoops site,,?
  • 2004/12/14 14:34

  • masterboy

  • Just popping in

  • Posts: 7

  • Since: 2003/1/9 1


This was an double post.. sorry!

6
irmtfan
Re: How 2 put recent news on a non-xoops site,,?
  • 2004/12/14 14:45

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


still i dont understand what you want?
what is your page that want to show recent news and what is your news site?
you can use a java script if your page does not support RSS feed

7
masterboy
Re: How 2 put recent news on a non-xoops site,,?
  • 2004/12/14 14:50

  • masterboy

  • Just popping in

  • Posts: 7

  • Since: 2003/1/9 1


NOo... An XOOPS block!
on XOOPS displays this block the newest and recentst news..
En i want that on my page to, a table that says what's new news on my XOOPS site..

8
Herko
Re: How 2 put recent news on a non-xoops site,,?
  • 2004/12/14 14:58

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


You can't put a XOOPS block on a non-xoops page. That is impossible without a LOT of coding (the non-xoops page, not XOOPS itself). However, your XOOPS powered site does have an RSS feed of... your recent news! And RSS is an international standard and there are many scripts that can translate RSS to HTML, and you can simply include it in your non-xoops page.

Herko

9
irmtfan
Re: How 2 put recent news on a non-xoops site,,?
  • 2004/12/14 16:51

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


now i understand what you want.
you want show news from your own XOOPS site to another site( page , weblog ,...) as i said in my last post.
the first solution is useing rss. if you cant use it or dont know about it leave it and use js for showing news.so you have this solution:
i recommended to install wf-channel ( get it from http://www.wf-projects.com/) and copy backendjs.php in your ROOT. then call it with a simple script in your page:
<script type='text/javascript' src='http://www.your_site.com/backendjs.php'>script>

for example use https://xoops.org/backendjs.php in your page and try this

Login

Who's Online

320 user(s) are online (248 user(s) are browsing Support Forums)


Members: 0


Guests: 320


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits