Elxis CMS Forum

Support => General => Topic started by: ROUBOS on June 16, 2011, 19:14:29

Title: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: ROUBOS on June 16, 2011, 19:14:29
Hi,
I was reading the Linux inside magazine, and there was an article on Drupal. I noticed that there is a Module "Aggregator", that collects news from other sites and displays them on your own site.
Is there a similar module for Elxis? Is this possible?

thanks
Title: Re: Module to collect news from other sites ?
Post by: wbread on June 16, 2011, 19:25:02
newsfeeds
collect rss news from other site
Title: Re: Module to collect news from other sites ?
Post by: ROUBOS on June 16, 2011, 19:38:56
and do they get displayed in the form of full content? Pictures and all?
Title: Re: Module to collect news from other sites ?
Post by: ks-net on June 16, 2011, 19:41:04
Quote
and do they get displayed in the form of full content? Pictures and all?
yes there is => module ...  UCD
Title: Re: Module to collect news from other sites ?
Post by: ROUBOS on June 16, 2011, 20:20:41
so UCD the Ultimate Content Display will display news from RSS? will check it out
Title: Re: Module to collect news from other sites ?
Post by: ks-net on June 16, 2011, 20:25:51
i have used it in 2000.8x ..  yes , rss with images

look in this site: alitheiaportal[.]com

section-> Επικαιρότητα...Οικονομία ...Διεθνή etc.....

this is UDC

Title: Re: Module to collect news from other sites ?
Post by: wbread on June 16, 2011, 20:29:38
no))
1. first make newsfeeds from  site you want
2. in UCD modul set "Newsfeed Category" or "Newsfeed Item"
Title: Re: Module to collect news from other sites ?
Post by: ROUBOS on June 17, 2011, 12:41:37
i have used it in 2000.8x ..  yes , rss with images

look in this site: alitheiaportal[.]com

section-> Επικαιρότητα...Οικονομία ...Διεθνή etc.....

this is UDC



OK tried it and it does work. I was wondering if it is possible to display these items in the form like "ΑλήθειαPortal - Τελευταία Νέα..." and also to open the links in a new tab of the browser and not on the same page.
I guess I can format the page with <div> tags in square formation and display multiple copies of the UCD on the same page.
Any other module that could do the same job?

thanks for the replies
Title: Re: Module to collect news from other sites ?
Post by: nikos on June 18, 2011, 02:22:27
Elxis Downloads Center has a lot of tools which in combination with your imagination you can create a lot of things.

Below i give you the idea how i have done this on a site 3 years ago and i think that worths to try it.

a) Install into your site module iTabs (http://www.elxis-downloads.com/downloads/sliders-scrollers-tabs/164.html) which in it's description refers:

iTabs is a simple module for displaying module positions using mootools carousel. Here's how it works:
1. Create custom module and publish it at some position (eg. user5). Then publish user5 at any of 5 tabs. Off course, you can create your own positions.
2. Publish some existing module at existing position. Publish selected position in selected tab.


b) Create a new user module and going into parameters there you can insert the RSS URL with control to Feed Description, Feed Image, Number of Items, Item Description and Word Count.

c) Do the same for the rest 4 positions of iTabs and enjoy a nice result!

And if you want to insert more feeds, then you have to add more positions on iTabs module which this needs some hard carefull job and you have to add also as many extra module positions you need from Templates Manager.  I have done it for 20 positions.
Title: Re: Module to collect news from other sites ?
Post by: ROUBOS on June 20, 2011, 19:36:24
can we have RSS news showing just like blog style content items? As per normal, instead of displaying the content items on the main page in blog view, we display rss news from other sources
Title: Re: Module to collect news from other sites ?
Post by: nikos on June 20, 2011, 23:15:12
You propably did not try the above way of RSS display. Try it and your question will be answered.  ;)
Title: Re: Module to collect news from other sites ?
Post by: ROUBOS on June 21, 2011, 02:38:29
OK
installed eTabs, and I do display the RSS feeds. 5,10 per tab etc. But this does not do what I want it to do, or I'm not understanding what you're trying to tell me.
I need to have menu linked to sections/categories. Even UCD can display max of 30 items. Look at newsbeast.gr
I want the rss feeds to be used just like ordinary content items. Entered to the database. Not flashing one after the other.
A feed comes is, taken as a an item and entered in Elxis just like a typed up item. Under a section/category specified.
Hope I'm making sense.

Can it be achieved with the eBlog?
Title: Re: Module to collect news from other sites ?
Post by: nikos on June 21, 2011, 03:00:44
Ok you started this topic with title module collecting rss news and I just mentioned what i have done which does this you initialy asked for and looks also as blog, but you propably want something very custom as i see frrom your last post, which escapes from initial topic's title and is not looking to be just a module.
Title: Re: Module to collect news from other sites ?
Post by: ROUBOS on June 21, 2011, 03:06:26
yes that's true. just did not want to make yet another post. Don't want to be flooding the forum with similar topc posts.
Even though it seems like I am lately  :-\

Can we add RSS feeds to the Blog component? This would be great and will be able to auto-update the site with news etc.
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: ROUBOS on June 21, 2011, 13:06:28
doing some searching, I came across this http://www.rss2cms.com/

I notice that there is a plugin for wordpress cms that does this. Is there something similar we can do for elxis? Is there a way?  http://wordpress.org/extend/plugins/feedwordpress/
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: webgift on June 21, 2011, 16:04:48
have you used this bot: KL RSS FEED (http://www.elxis-downloads.com/downloads/remote-content/191.html) ?
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: ROUBOS on June 21, 2011, 18:01:45
I seen that KL RSS Feed bot.
From what I understand, you attach this bot on an item or autonomous page, to bring in rss feeds. But does not create a new item like I want it to do.
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: webgift on June 21, 2011, 19:03:45
It's a bot. So you can use it to as many content items you like or you can copy-paste the bot's pattern at the same content item with different parameters each time.
In case that you want to publish the results of these content items or autonomous pages to a module position, you can do that by using that module (http://www.elxis-downloads.com/downloads/content/215.html)
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: ROUBOS on June 21, 2011, 19:25:37
thanks for the reply,
I want the rss feed to come in and be posted onto the site as per normal content item, with its photo if any. The user of this site will not be able to enter bot info etc.
has to be as automatic and as simple as possible.
Wordpress has this plugin. And this http://www.rss2cms.com/ looks ok. About start reading it to see if I can apply it. = No Luck :(
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: ks-net on June 22, 2011, 01:58:49
This script  sacks ....
spaghetti code script ....
short_open tags
its code is not updated since 2006!

Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: ROUBOS on June 22, 2011, 02:07:40
yes it does suck.
unfortunately only wordpress has what this client wants. Going to try it out tonight and see how I go. After 7 client sites I've created using Elxis I'll try out wordpress for the first time.
 
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: nikos on June 22, 2011, 07:07:10
Dear Roubos

I watch your posts carefully about you requests and as i said previously on one of my answers you want something custom which can not be satisfied with available tools. So you could try to order (https://forum.elxis.org/index.php?board=48.0) it and maybe somebody will be interested to develop it.
Title: Re: Module to collect news from other sites ?
Post by: wbread on June 25, 2011, 13:52:47
I want the rss feeds to be used just like ordinary content items. Entered to the database. Not flashing one after the other.
A feed comes is, taken as a an item and entered in Elxis just like a typed up item. Under a section/category specified.
Hope I'm making sense.

If such a module will be, then it will just steal content from other sites automatically without any special effort
have such bots for other cms
Title: Elxis Nautilus - feeds central
Post by: datahell on June 26, 2011, 23:11:07
RSS/ATOM feeds central on Elxis Nautilus :P
Elxis Nautilus generates automatically feeds for all categories.

[attachment deleted by admin]
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: wbread on June 26, 2011, 23:33:36
Elxis Nautilus - where can I get it? ;D
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: webgift on June 27, 2011, 11:10:03
When it will be published. It's under development.
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: wbread on June 27, 2011, 11:41:03
I know, why did he mention it if it does not help solve the problem ;D

I would not do the module that makes from rss page for the site as a ordinary article
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: datahell on June 27, 2011, 19:20:32
I know, why did he mention it if it does not help solve the problem ;D

For suspense ;D
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: ROUBOS on July 11, 2011, 20:41:05
this will be awesome. Will it populate the database from the feeds? Like an aggregator?
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: wbread on July 11, 2011, 20:57:33
this is pure theft of content from other sites!
I do not understand why you are such imports news from other sites.
Want to make a website without the expense of content?
in any case thrown out of the issuance of search engines all duplicates made ​​without the permission of authors
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: datahell on July 11, 2011, 21:31:26
wbread I agree with you although it is not illegal to display RSS feeds from other sites. RSS feeds exists exactly for this reason.
The ideal would be all the content of your site to be unique but in some cases this can not be succeeded 100%. Think of news portal sites for example. All such sites have the same news and many times taken by the same news agent, so the articles are even identical...
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: wbread on July 11, 2011, 22:10:13
I am not against rss, but that they were short and with reference to the original
Why create rss of constant content in database.
news portal can use the fact that there is, just use journalists to create content for a sample of those rss news that does not lose relevance over time.
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: azmi2 on December 12, 2012, 07:09:20
i installed UCD module and getting this error

-------------------------------------------------------------------------------
Ultimate Content Display

mysql Error [1064] : EXECUTE
URI: index.php
Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY ordering' at line 2
SELECT name, link, numarticles, cache_time, seotitle FROM elx_newsfeeds WHERE published='1' AND checked_out='0' AND id IN () ORDER BY ordering
PHP Error [Warning]
URI: index.php
Path: \modules\mod_ucd.php
Line: 155
Invalid argument supplied for foreach()

------------------------------------------------------------------------------------------------------------------------------

can some body help me to solve this problem.

thanks
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: datahell on December 12, 2012, 18:02:47
No content items are set.
AND id IN ()
"IN" should contain comma separated article ids. eg. AND id IN (1,4,12,7,52)
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: azmi2 on December 13, 2012, 15:47:31
thanks

solved

thanks again
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: azmi2 on December 16, 2012, 12:30:02
but it is not supporting RTL.i mean Arabic language.is it possible that it can support Arabic.


thanks
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: azmi2 on December 16, 2012, 12:39:55
nikos
thanks a lot ,i have one question regarding itab module.i install it on Arabic website,but it is not working.can u help me to how i can use this on Arabic website.i mean to say LTR
Title: Making an extension RTL Compatible
Post by: webgift on December 17, 2012, 12:24:16
You can make an extension compatible with RTL (Right To Left) languages by yourself. You must find out where the css file is declared from the php file and then create a new css file to the relative directory with the prefix (-rtl)

Let's see an example for the modules:
1. Open the php file of the module that is placed in directory modules/
2. Search for the pattern (.css)

Elxis 2009.x
3. In case that RTL language is not supported you have to create it by using the constant variable _GEM_RTL
For example:
$baseurl = $mainframe->getCfg('live_site').'/modules/mod_mymodule';
$cssfile = (_GEM_RTL == 1) ? $baseurl.'/mycss-rtl.css' : $baseurl.'/mycss.css';


Elxis 4.x
3. In case that RTL language is not supported you have to create it the $sfx variable as described below:
For example:
$sfx = eFactory::getLang()->getinfo('RTLSFX');
$baseurl = eFactory::getElxis()->secureBase().'/modules/mod_mymodule';
$eDoc->addStyleLink($baseurl.'/includes/mycss'.$sfx.'.css');

4. Go to the directory /modules/mod_mymodule and create a new CSS file named: mycss-rtl.css
5. Open mycss.css file, copy the css code and paste it through to mycss-rtl.css file.
6. Now you must change all of the left alignment to right and the right ones to the left.

Examples:
text-align: left; to text-align:right;
float: left; to flat: right;
margin: 2px 5px 0px 10px; to margin: 2px 10px 0px 5px; (margin: top right bottom left)
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: azmi2 on December 18, 2012, 12:40:58
i tried my most,but could not success,i am sending as an attachment of files,can u please make correction and send me,i will be thankful to you always.

thanks
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: webgift on December 18, 2012, 16:22:37
Unzip the mod_itabs.php file and upload it to the directory: /modules/
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: azmi2 on December 19, 2012, 11:50:16
thanks a lot,its working,but one more problem is arising.in tab we assign modules.in English language it is working fine,but when we switch it in Arabic language,only first module is showing,if i click 2,3,4,5 module nothing coming,then again i click 1st tab,nothing shown,but if i reload,1st tab display module.what is problem.i try most but without success,please help me.


thanks
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: Ivan Trebješanin on December 19, 2012, 12:03:51
Can you give us URL?
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: webgift on December 19, 2012, 12:35:18
I am sorry @azmi2. I am not a magician.
Can you give us URL?
;)
Title: Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
Post by: azmi2 on December 19, 2012, 17:52:46
i am testing it on localhsot