Joomla! Discussion Forums



It is currently Mon Nov 23, 2009 5:46 pm (All times are UTC )

 




Post new topic Reply to topic  [ 157 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
Posted: Sun Jan 08, 2006 11:23 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Jan 08, 2006 11:14 pm
Posts: 1
Location: United Kingdom
Very good script indeed, thanks. Extended it to actually go and fetch the whole article to import (instead of just the summary) and it was a breeze! - just a few minor edits to make. You can see it working on my sites (see sig below). A self-publishing website that adds pages automatically - what more could a webmaster ask for :)

Look forward to this one day becoming a full mambo component as the need is definitely there.

Thanks again.

_________________
Visit my sites at:
http://www.123webmarketing.biz
http://www.softscript.biz
http://www.webmoolah.net


Top
  E-mail  
 
Posted: Sun Jan 08, 2006 11:54 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Sep 08, 2005 2:18 am
Posts: 86
Location: France
Hi haydn
Could you share your trick to get the whole article ??? would be quite useful indeed  ;)
Does anybody managed to fetch the whole article of an RSS (ex a yahoo RSS) and would be willing to share his hack ????

_________________
http://deschamps.sebastien.free.fr (Personal Web Portal)
http://my.joomla.free.fr (have fun with joomla and as the name says this is MY joomla! well my experiences with it)


Last edited by eugene33 on Wed Jan 11, 2006 12:42 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Mon Jan 09, 2006 4:07 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Oct 04, 2005 7:58 am
Posts: 76
i am getting a blank screen but content is not being added ..  ??? ..  my rss url is news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml , is this the problem ?

help plz

_________________
http://www.mopays.com.


Top
   
 
Posted: Wed Jan 11, 2006 1:46 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Jan 04, 2006 4:43 am
Posts: 11
Well, I finally got this working, and I love it.  I scheduled via cron jobs, and now, like someone else, have a web site full of content which I don't create.  I love that.

However, now, I have too much of a good thing.  Is there a way in Joomla to auto-expire the content after, say, two weeks, or something I can put in the script to define an expiry date for each new content item?

Thanks in advance!


Top
   
 
Posted: Sat Jan 14, 2006 10:27 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Jan 04, 2006 4:43 am
Posts: 11
and now another question:

The automatically created content all has an order code of 99.  But, if you look at your content in the backend, or reorder anything, the backend renumbers things, but, seems to put the newest content last.  I want the newest content first.  Any way to do this?


Top
   
 
Posted: Thu Jan 19, 2006 1:50 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 08, 2005 6:58 pm
Posts: 27
I thought I would just say thank you for creating this.  I too had troubles at first, but really, you just need to read the instructions and edit about 8-10 lines.

I created a domain to test it on, www.NewsNabber.com I created six content sections for my test. They are Google News, Health News, Joomla News, Hosting News, Mambo News, and More Feeds.

I've done nothing else, it really is just a demo at the time of this post.

I may want to develop this site in the future.  If you have any ideas, let me know.  The domain name is perfect for this script.


Top
  E-mail  
 
Posted: Thu Jan 19, 2006 1:57 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Jan 03, 2006 11:39 am
Posts: 4
Location: INDIA
hey hospital, you have got only the title. where is the intro text and the "read more " link ? :)

_________________
http://www.lugnm.org


Top
   
 
Posted: Thu Jan 19, 2006 2:00 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 08, 2005 6:58 pm
Posts: 27
As I started, I noticed that too.  I read through this topic, and found 2 lines that needed to edited Thanks to Sylvain for the help,

Around line 88
      $link = addslashes($item['link']);


Around line 130, replace
            '". $maintext ."',
with

            '". $maintext . "

Read more...',

Hosting News, Mambo News and More feeds should be working fine.


Top
  E-mail  
 
Posted: Thu Jan 19, 2006 2:08 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Jan 03, 2006 11:39 am
Posts: 4
Location: INDIA
:) Yep everything is fine. you can visit my site also . its http://www.lugnm.org  on joomla 1.0.5.
Suggetions are welcomed

_________________
http://www.lugnm.org


Top
   
 
Posted: Fri Jan 20, 2006 12:29 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Oct 15, 2005 4:15 am
Posts: 10
It's a great script, works perfectly for me, though as always, I have a couple of questions.

A few people have asked wheather it is possible to auto-import to the front page, through the setting of an attribute or something.

Also, I am trying to use this script with http://steampowered.com/rss.xml that feed, though it is formatted differently, and uses RDF in some places. By default, the script gets the title and date fine, but what about the content ? I cant get it to work...

Thanks.


Top
   
 
Posted: Fri Jan 20, 2006 1:08 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 08, 2005 6:58 pm
Posts: 27
I don't know for sure, but I believe that the amount of content that is pulled in the feed is controlled by the webmaster of the site you are pulling from.  This is a setting that you can set within Joomla under syndication.  This allows you to control the feeds that maybe you provide.


Top
  E-mail  
 
Posted: Fri Jan 20, 2006 12:13 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Jan 03, 2006 11:39 am
Posts: 4
Location: INDIA
manipul8or,
you can always check what the site is actually providing. using some feed reader (like sage for firefox)
and compare with what you are getting at your site.

_________________
http://www.lugnm.org


Top
   
 
Posted: Sat Jan 21, 2006 2:26 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Oct 15, 2005 4:15 am
Posts: 10
Yes, I have. They use a tag for their content, and I can't seem to get the script to accept this instead of a description.


Top
   
 
Posted: Sun Jan 22, 2006 4:08 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Oct 15, 2005 4:15 am
Posts: 10
I've done a bit more research, and the script really isn't all that compatible with many feeds at all. It will accept only a description tag for the content, while many RSS feeds today use a tag, which enables them to embed HTML within the field, providing you with hyperlinks and such.

What I haven't been able to figure out, is how to use this content field within the script. There must be a way to import all the HTML in the content:encoded field into Joomla, as Joomla does support HTML (duh...). I just can't figure it out.  :(


Top
   
 
Posted: Tue Jan 24, 2006 1:33 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Sep 01, 2005 5:41 am
Posts: 76
I always have to click publish for each article inserted by this script. Is there anyway to make this automatic?

_________________
The man who speaks to you of sacrifice speaks of slaves and masters. And intends to be the master. --Ayn Rand


Top
  E-mail  
 
Posted: Tue Jan 24, 2006 1:45 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Sep 01, 2005 5:41 am
Posts: 76
haydn wrote:
Very good script indeed, thanks. Extended it to actually go and fetch the whole article to import (instead of just the summary) and it was a breeze! - just a few minor edits to make. You can see it working on my sites (see sig below). A self-publishing website that adds pages automatically - what more could a webmaster ask for :)

Look forward to this one day becoming a full mambo component as the need is definitely there.

Thanks again.


Can you share with us how you did this? I actually just want half or 1/4 of the article fetched. Thanks

_________________
The man who speaks to you of sacrifice speaks of slaves and masters. And intends to be the master. --Ayn Rand


Top
  E-mail  
 
Posted: Tue Jan 24, 2006 1:29 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 08, 2005 6:58 pm
Posts: 27
Berlin, there is a way to automate the process.  Depending on how your server is set up, it may be very easy.  You need to set up Cron Jobs.  Do a seach for it.  If your host allows you do have cron jobs, there is probably some kind of documentation on how to create one.

Usually you just enter the command to run and the frequency you want it run.  That is it.


Top
  E-mail  
 
Posted: Wed Jan 25, 2006 12:09 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Sep 01, 2005 5:41 am
Posts: 76
Thanks. I have no problem with cron, but when the article is inserted, it's marked as unpublished. I want it published as soon as it's inserted into my database.

THanks

_________________
The man who speaks to you of sacrifice speaks of slaves and masters. And intends to be the master. --Ayn Rand


Top
  E-mail  
 
Posted: Thu Jan 26, 2006 12:36 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Sep 01, 2005 5:41 am
Posts: 76
Ok I still can't figure it out. I want it to publish automatically once it gets inserted into the database. I thought it was access but I was wrong.

Also I get double entries. The script doesn't check if the same article has already been fetched.

_________________
The man who speaks to you of sacrifice speaks of slaves and masters. And intends to be the master. --Ayn Rand


Top
  E-mail  
 
Posted: Thu Jan 26, 2006 2:26 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 08, 2005 6:58 pm
Posts: 27
Berlin:  I had a look at your site and noticed that you are running Mambo not Joomla.  I can't say for sure but is it possible that this is an issue because you are using Mambo not Joomla?

I have had the script running for several days and pulled in hundreds of articles with no problems.  All articles are inserted into the database only once, and published right away.

I would try starting fresh.  Maybe you have made a minor edit that is affecting the whole script.


Top
  E-mail  
 
Posted: Fri Jan 27, 2006 2:43 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Sep 01, 2005 5:41 am
Posts: 76
Does your article show up automatically in the frontpage or do you have to click publish?

Anyway thanks for your time. I'm tired of repeating myself here. This project is dead. What I'll do instead is hire someone to fix this and include an option whether to import the entire article or not. I'll let you know once it is finished.

_________________
The man who speaks to you of sacrifice speaks of slaves and masters. And intends to be the master. --Ayn Rand


Top
  E-mail  
 
Posted: Fri Jan 27, 2006 4:21 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 19, 2005 12:14 am
Posts: 307
Location: Bremerhaven - Germany
berlin wrote:
I'm tired of repeating myself here. This project is dead.

OK, hire someone. Money makes the world go arround ... but learning something about how the script is working and a little bit about how Joomla! is storing articles into the database may earn you money.

You have to learn or you have to hire someone. Your decision. I feel sorry, but there is no Scotty who beams up your brain with knowledge.

Best regards,

Joern ;)

_________________
LMO - Support | http://www.successwiki.com/
LMO - Project  | http://joomlacode.org/gf/project/lmo/


Top
  E-mail  
 
Posted: Fri Jan 27, 2006 3:16 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 08, 2005 6:58 pm
Posts: 27
Berlin:  I am willing to try to help you out a little further with this.  You can use my contact form on Mambothemes.com to get ahold of me.  I will not charge you a penny.  Please note that this script was not meant to add content on the front page of your site.  This is a task that you still need to select manually.  Although I think that there may be a way to have a pre selected content section show up instead of the normal front page.

Cheers


Top
  E-mail  
 
Posted: Fri Jan 27, 2006 3:52 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Aug 21, 2005 9:02 am
Posts: 96
Quick update from the author  :P

I am still planning to turn this into a component to eliminate the user errors with script edits. At this stage hoping to do that within the next month or so.

For the record, the script does work quiet well (personally I am fetching 40+ articles/day) so please do not bother with it unless you have php/mysql skills.

Cheers,
Max


Top
  E-mail  
 
Posted: Fri Jan 27, 2006 4:16 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 08, 2005 6:58 pm
Posts: 27
My demo page is also pulling several hundred feeds.

I look forward to the day that this becomes a component.  If there is any way I can help, please let me know.


Top
  E-mail  
 
Posted: Fri Jan 27, 2006 4:26 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Aug 21, 2005 9:02 am
Posts: 96
hospital wrote:
My demo page is also pulling several hundred feeds.

I look forward to the day that this becomes a component.  If there is any way I can help, please let me know.

Thanks for the offer, dont want to do a half ass job so want to make sure I have enough time to do it well.

Cheers,
Max


Top
  E-mail  
 
Posted: Fri Jan 27, 2006 4:34 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 08, 2005 6:58 pm
Posts: 27
I'm not sure what you mean by not wanting do do a half ass job.  I do hope that it is just a time issue.

When I offered to help in anyway, it was just that.  If you wanted a tester I am willing to try it.  If you wanted help with documentation I was willing to help.

All in all, I was just trying to give back to the community.  As you can see from a post that I made earlier today I stated that I wouldn't even charge for helping berlin if it was wanted.

typera, I believe that you have come up with a fantastic idea.  I can't wait to see it fill my server full of data.


Top
  E-mail  
 
Posted: Fri Jan 27, 2006 6:35 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Sep 01, 2005 5:41 am
Posts: 76
jgobiz wrote:
berlin wrote:
I'm tired of repeating myself here. This project is dead.

OK, hire someone. Money makes the world go arround ... but learning something about how the script is working and a little bit about how Joomla! is storing articles into the database may earn you money.

You have to learn or you have to hire someone. Your decision. I feel sorry, but there is no Scotty who beams up your brain with knowledge.

Best regards,

Joern ;)


thanks hospital. I agree this is a good start of what will be a great component. whether the mods to this script were paid for or given for free, what matter most is that people give back to the community. (i guess i was spoiled by the vb / smf community) my soon to be joomla site has an existing 2.5k plus members. sometimes you just have to so you can focus on getting new members --something I do better than php. I have several sites and i've been with elance.com for 5 years and i do share my modified scripts.

_________________
The man who speaks to you of sacrifice speaks of slaves and masters. And intends to be the master. --Ayn Rand


Last edited by berlin on Fri Jan 27, 2006 6:43 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Sat Feb 04, 2006 4:02 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Feb 04, 2006 3:38 am
Posts: 7
Great script.

Does anyone know the answer to this php scripting question: 

I want to add in the main section or intro section a link to a specific url each time a content item is created.

For example, each content item would have in the main or intro section:  "Please visit our affiliate", and the word "affiliate" would be a link.

This would add great power to each content item.

Thanks.


Top
  E-mail  
 
Posted: Sat Feb 04, 2006 4:11 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 01, 2005 5:02 pm
Posts: 11
Location: Queens NY
Check around line 128 in the script -

'". $titletext ."',
'". $introtext ."',
'". $maintext . "

And add the link you want.

_________________
ACO - AntiCulture.Org


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 157 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

Quick reply

 



Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group