1
Arfan
Load block "News Modules" From other website used XOOPS too...
  • 2008/12/5 17:46

  • Arfan

  • Just popping in

  • Posts: 9

  • Since: 2008/12/4


how to creating news block ( recent news block ) from other website used XOOPS and news modules too like from subdomain (xxx.sitename.com)which installed by XOOPS too wanna to show the block in real domain (sitename.com) but use standard website used HTML

2
ghia
Re: Load block "News Modules" From other website used XOOPS too...
  • 2008/12/5 18:18

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try one of the syndication modules.

3
Arfan
Re: Load block "News Modules" From other website used XOOPS too...
  • 2008/12/7 6:45

  • Arfan

  • Just popping in

  • Posts: 9

  • Since: 2008/12/4


Thanks u very much for ghia, nice to know u. but I'm very so sorry because i don't understand to use it. Now i building a website but for default i used HTML standard n wanna to connected sub domain which installed XOOPS and modules news. So i wanna to show "Recent News Block" in the index.html in front website. Please help me.... friends

4
sailjapan
Re: Load block "News Modules" From other website used XOOPS too...

Maybe this link (thank you Google) will help you.
Never let a man who does not believe something can be done, talk to a man that is doing it.

5
Arfan
Re: Load block "News Modules" From other website used XOOPS too...
  • 2008/12/7 8:43

  • Arfan

  • Just popping in

  • Posts: 9

  • Since: 2008/12/4


"Maybe this link (thank you Google) will help you."

Thanks u very much "sailjapan" for your Respond my question. But i just show my "recent news block" from my website but its subdomain to front page website used HTML. for example the "recent news block" from xxx.domain.com to www.domain.com (used HTML page)

6
ghia
Re: Load block "News Modules" From other website used XOOPS too...
  • 2008/12/7 11:39

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
Maybe this link (thank you Google) will help you.
I think he needs the opposite. The News pages have already RSS output (if enabled) and then he needs a RSS to HTML convertor or RSS reader, in order to display the latest news in his primary HTML domain.
There is also a possibility to use the same XOOPS with its main domain, trough the multi site hack, but then it will be a full XOOPS page and no longer a part of an HTML page.

7
sailjapan
Re: Load block "News Modules" From other website used XOOPS too...

Ah, I see, I read it the wrong way around. So Arfan's news source is News module on Xoops, and the site that he wants to move it to is a static html one. Gotcha.

Arfan:
Enable the RSS feeds in News module preferences, or use an rss module such as RSSFit to export your news, then add some java to your html site (choose one of the services Ghia linked to), and your news will be imported into the static page.
Never let a man who does not believe something can be done, talk to a man that is doing it.

8
Arfan
Re: Load block "News Modules" From other website used XOOPS too...
  • 2008/12/9 10:44

  • Arfan

  • Just popping in

  • Posts: 9

  • Since: 2008/12/4


Quote:
Ah, I see, I read it the wrong way around. So Arfan's news source is News module on Xoops, and the site that he wants to move it to is a static html one. Gotcha. Arfan: Enable the RSS feeds in News module preferences, or use an rss module such as RSSFit to export your news, then add some java to your html site (choose one of the services Ghia linked to), and your news will be imported into the static page.

----------------------------------------
I'm very thanks u "sailjapan" but how to process add some java to my html site or imported my recent news into the static page ?

PLEASE HELP TO DO IT.... !!!

9
ghia
Re: Load block "News Modules" From other website used XOOPS too...
  • 2008/12/9 11:09

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Check out some of the listed possibilities eg RSS2HTML (download).

10
tcnet
Re: Load block "News Modules" From other website used XOOPS too...
  • 2008/12/9 15:02

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


If the News module is installed, the News Headline links are added to your XOOPS backend.php feed.

Here is a way to display a XOOPS backend.php RSS news feed on a static html page.

1) Download rss2html.php. Upload it to the XOOPS server.

2) Make an rss news template (named newstemplate.html) and upload it to the static html site's root directory.
<html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<
title>RSS News Feed</title>
</
head>
<
body>
<
H3>~~~FeedTitle~~~</H3>
<
p>~~~FeedDescription~~~</p>
<
TABLE width="100%">
~~~
BeginItemsRecord~~~
<
TR>
<
TD>
<
hr width="90%" align="left">
</
TD>
</
TR>
<
TR>
<
TD>
<
p><A href="~~~ItemLink~~~" target="_blank">~~~ItemTitle~~~</A></p>
</
TD>
</
TR>
<
TR>
<
TD>
~~~
ItemPubShortDate~~~
~~~
ItemPubShortTime~~~
</
TD>
</
TR>
<
TR>
<
TD>
~~~
ItemDescription~~~
</
TD>
</
TR>
~~~
EndItemsRecord~~~
</
TABLE>
</
body>
</
html>

3) Add some iframe code to the html page where you want to display the news feed.
<iframe name="rssnews" src="http://yourxoopssite/rss2html.php?XMLFILE=http://yourxoopssite/backend.php&TEMPLATE=newstemplate.html&MAXITEMS=10" height="400" width="99%" title="RSS News Feed" align="center">
Your browser does not support inline frames.
</
iframe>


The XMLFILE url can point to any xml rss feed.
To display Headlines from a single News category:
XMLFILE=http://yourxoopssite/modules/news/backendt.php?topicid=1

Login

Who's Online

192 user(s) are online (133 user(s) are browsing Support Forums)


Members: 1


Guests: 191


dyraven,

more...

Donat-O-Meter

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

Latest GitHub Commits