Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
« previous
next »
Print
Pages:
1
2
[
3
]
Author
Topic: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment (Read 28344 times)
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #30 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...
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
wbread
Sr. Member
Posts: 354
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #31 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.
Logged
azmi2
Jr. Member
Posts: 74
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #32 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
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #33 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)
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
azmi2
Jr. Member
Posts: 74
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #34 on:
December 13, 2012, 15:47:31 »
thanks
solved
thanks again
Logged
azmi2
Jr. Member
Posts: 74
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #35 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
Logged
azmi2
Jr. Member
Posts: 74
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #36 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
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Making an extension RTL Compatible
«
Reply #37 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)
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
azmi2
Jr. Member
Posts: 74
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #38 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
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #39 on:
December 18, 2012, 16:22:37 »
Unzip the mod_itabs.php file and upload it to the directory: /modules/
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
azmi2
Jr. Member
Posts: 74
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #40 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
Logged
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #41 on:
December 19, 2012, 12:03:51 »
Can you give us URL?
Logged
I've got a snap in my finger...
Got rhythm in my walk...
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #42 on:
December 19, 2012, 12:35:18 »
I am sorry @azmi2. I am not a magician.
Quote from: Ivan Trebješanin on December 19, 2012, 12:03:51
Can you give us URL?
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
azmi2
Jr. Member
Posts: 74
Re: Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment
«
Reply #43 on:
December 19, 2012, 17:52:46 »
i am testing it on localhsot
Logged
Print
Pages:
1
2
[
3
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Module to collect news from other sites ? - Edit: Add RSS to Blog Compoment