1
Welcome, Guest. Please login or register.
October 13, 2008, 02:26:32 PM
Home Help Search Login Register
News: New Version of iJoomla Magazine for 1.5

  Show Posts
Pages: [1]
1  iJoomla RSS Feeder / Support Questions / Required folder/file permissions? on: October 11, 2008, 11:10:11 AM
I'm had to reset the file & folder permissions on my server after a server move, and now iJoomla RSS is crashing with:

Warning: chmod() [function.chmod]: Operation not permitted in /var/www/vhosts/<domain>/httpdocs/components/com_ijoomla_rss/ijoomla_rss.php on line 1439

Warning: fopen(/var/www/vhosts/<domain>/httpdocs//components/com_ijoomla_rss/xmlfiles/full_content.xml) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/<domain>/httpdocs/includes/feedcreator.class.php on line 711

Error creating feed file, please check write permissions.


Since ijoomla_rss.php is encrypted, can you tell me what permissions I need to change to fix this..?
2  iJoomla RSS Feeder / Report Bugs / iJoomla RSS generating broken link? on: October 10, 2008, 04:49:22 AM
A crawl of my site turns up the malformed link:

http://www.domain.co.uk/”http://feeds.feedburner.com/~s/domain”

And since it crops up on what looks like every page, I suspect it's something to do with iJoomla RSS.

The actual RSS link on the page is fine (and valid), so I'm a little confused as to exactly where this is being generated.

Any ideas..?
3  iJoomla RSS Feeder / Suggestions/Ideas / Multithumb mambot: mods to resize images, format text and strip redundant tags on: April 25, 2008, 09:20:20 AM
I've been struggling with image handling in RSS Feeder, but some amended code handed through a support ticket seems to have fixed it. I've no idea how it fixed it, but it has.

Anyway, I use the awesome Multithumb mambot (http://tinyurl.com/3dbza3) for image handling on my site - I post 800 x 600 images by default, and this mambot turns them into a thumbnail for the article and links to the hi-res original.

There are two problems:

1. RSS Feeder is obviously ignorant of Multithumb and so just displays the full-size image in the feed.
2. Additional Multithumb modifiers (different size images, etc) require the use of the {multithumb} tag before the {mosimage} it applies to and RSS Feeder was displaying this redundant (for the RSS feed, anyway) information in the feed.

So, I've modified ijoomla_rss.php to fix this, and also to apply some basic wraparound text formatting to the image. The image resizing is a quick kludge, but short of getting RSS Feeder to talk to Multithumb, it's the best I can manage.

So, in ijoomla_rss.php at lines 650, 969 & 1295, replace the code:

Code:
for($i=0; $i<$introCount && isset($vect[$i]); $i++){
  $pic=substr($vect[$i],0,strpos($vect[$i],".")+4);
  $path=$mosConfig_live_site."/images/stories/".$pic;
  $img='<img src="'.$path.'" alt="" border="0" />';
  /// replace the first occurrence of string {mosimage} with $pic string
  $introt=preg_replace('/{mosimage}/', $img , $introt, 1);
  
}

//// the images from fulltext ###
  for($i=$introCount; $i<$len && isset($vect[$i]); $i++){
  $pic=substr($vect[$i],0,strpos($vect[$i],".")+4);
  $path=$mosConfig_live_site."/images/stories/".$pic;
  $img='<img src="'.$path.'" alt="" border="0" />';
  $fullt=preg_replace('/{mosimage}/', $img , $fullt, 1);
}

with:

Code:
for($i=0; $i<$introCount && isset($vect[$i]); $i++){
  $pic=substr($vect[$i],0,strpos($vect[$i],".")+4);
  $path=$mosConfig_live_site."/images/stories/".$pic;
  $img='<img src="'.$path.'" width="140" align="left" alt="" border="0" />';
  /// replace the first occurrence of string {mosimage} with $pic string
  $introt=preg_replace('/{mosimage}/', $img , $introt, 1);
  /// strip the first occurrence of string {multithumb}
  $introt=preg_replace('/{multithumb.*}/', "" , $introt, 1);
}

//// the images from fulltext ###
  for($i=$introCount; $i<$len && isset($vect[$i]); $i++){
  $pic=substr($vect[$i],0,strpos($vect[$i],".")+4);
  $path=$mosConfig_live_site."/images/stories/".$pic;
  $img='<img src="'.$path.'" width="140" align="left" alt="" border="0" />';
  $fullt=preg_replace('/{mosimage}/', $img , $fullt, 1);
}

I've added a width="140" and align="left" to the image attributes -- these values can obviously be anything you like.

I then look for the first occurrence of the {multithumb} tag and replace it with an empty string. It's pretty simple to amend the code to strip out all {multithumb} tags, too -- I only tend to use it once in the introtext.

All this suggests that it'd be trivial to improve RSS Feeder to include a predefined image size as a variable created in the back-end, so it'd be great to see this in a revision.

It'd also be great if the code could automatically strip out *all* mambot tags by default, leaving just the images.

Anyway, hope this is helpful to someone.
4  iJoomla RSS Feeder / Support Questions / Re: No images in the RSS Feed on: April 24, 2008, 08:36:06 AM
Just a 'me too' on this one. From my conversations with support so far, the inclusion of images seems to be influenced by the char length of the feeds (though I have no idea why), but I can't get a definitive answer on how images are handled.

Needless to say the lack of any mention of image handling in the documentation doesn't help, either...

The inclusion of the Feedburner username in the feed URL is far from ideal, but there are a couple of ways around this.

1. Create a new Feedburner account with a generic username (I know, I know).
2. Edit the iJoomla 'burned' URL in Feedburner's settings to something more suitable and publish that on your site. I have no idea how this will affect the component's stat gathering, though.
5  iJoomla RSS Feeder / Suggestions/Ideas / Re: Strip Mambot tags on: April 18, 2008, 06:29:43 AM
Any update on this? I use Multithumb and it relies up the {multithumb} tag in content -- something I'd like to strip out of the RSS feed.

Stripping out all mambot tags would be one solution, but I want to keep images in my feed (another area that could use a little polish -- the current images implementation is hit and miss, at best).
6  iJoomla RSS Feeder / Pre-Sales Questions / Images and other features on: April 10, 2008, 03:06:07 AM
I can't see anything about images mentioned on the product page and there seem to be a few unanswered questions about image handling in this forum, so I have a few questions about this and a few other features.

1. Does RSS Feeder publish images and if so, which? Just an image from the intro text, all images, or can the number of images be specified in the back end?

2. What's the issue with Joomla 1.1.15 I see mentioned in another thread?

3. I just want a single feed of all sections on the Frontpage - I have no interest in showing a long list of RSS readers. The client inks all have 'subscribe' links that open a new page with lots of reader and category options -- can I just publish a single RSS feed link for the whole in a module position on the Front page?

Er, I think that's it... Thanks in advance!
7  General / General iJoomla Discussions / Re: Good RSS/Syndication component wanted... on: April 10, 2008, 02:55:25 AM
Hm, so maybe I didn't look quite hard enough... <slaps forehead> Wood, trees, etc...

That said, there seem to be a few outstanding questions about image handling in RSS Feeder and having looked at some of the demo sites (many of which are now dead), the component doesn't seem to strip out {tags}.

Anyway, I'll take my questions over to the appropriate forum.
8  General / General iJoomla Discussions / Good RSS/Syndication component wanted... on: April 09, 2008, 09:10:28 AM
Great news on the updates, particularly the extra modules in News Portal!

Since iJoomla looks like a company that can deliver the goods, here's a proposition. How about writing a half-decent Syndication component?

The stock Joomla syndication component is far too simple -- I want the RSS feed for my site to contain images, and I'd love to be able to control how much content to publish. The only component that currently offers this, DS Syndication (http://tinyurl.com/4amt7o) is poorly implemented and too bug-ridden to use.

I'd pay a fair few bucks for a good image-enabled RSS component. Anyone else? How about it, Merav..?
9  iJoomla News Portal / Support Questions / Re: Only three Module Position Zones is a problem -- is there a solution? on: January 24, 2008, 08:46:59 AM
w00t!
10  iJoomla News Portal / Support Questions / Re: Only three Module Position Zones is a problem -- is there a solution? on: January 22, 2008, 02:35:31 AM
Thanks Sharon. Is there an ETA for the next version..?
11  iJoomla News Portal / Support Questions / Only three Module Position Zones is a problem -- is there a solution? on: January 21, 2008, 04:07:22 AM
I need three ad positions on my three-column site (banner next to the logo, skyscraper at the top of the right column and a square MPU in the body).

Since Newsportal largely ignores the main Joomla template, the only way I can figure out how to drop the ads into the Newsportal page is via the three Module Position Zones.

Unfortunately, three ads in three different positions on the page means I have to use three Modlue Position Zones, which means there's none left to pull in other Joomla modules like polls, recent comments, static content and so on.

So, two questions.

1. Am I using Module Position Zones correctly here?
2. Is there any other way to pull in Joomla modules to compensate for the limited number of Module Position Zones?

Ideas, anyone..?
Pages: [1]


Login with username, password and session length

Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Theme Globe by Eponnox