1
Kainaij
X-Re-aggregator 2.52 - How do I...
  • 2011/4/20 8:01

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


I have a block here:

http://kainaistudies.com/index.php

that gets a feed from a remote site into the block entitled "Partner News".

Hopefully a simple question. How do I set the module to allow for me to go straight to the web feed link and not to the x-aggregator module?

I've come this far and need just this one last tweak to make it right as rain.

Thanks for any help on this.
Current Projects:
http://kainaistudies.com
http://mikaisto.com

2
wishcraft
Re: X-Re-aggregator 2.52 - How do I...

Sorry it has been awhile since i looked into this module for majority of code.. but the file you need to alter i think is /modules/xreaggregator/block/xreaggregator_block.html

Currently it would read:

<a href="<{$site_url}>" target="_blank"><{$site_name}></a><br />
<{if 
$image.url != ""}>
  <
img src="<{$image.url}>" width="<{$image.width|default:88}>" height="<{$image.height|default:31}>" alt="<{$image.title}>" /><br />
<{/if}>

<
ul>
<{
section name=i loop=$items}>
  <{if 
$items[i].title != ""}>
  <
li><a href="<{$xoops_url}>/modules/xreaggregator/index.php?id=<{$site_id}>#<{$items[i].link}>"><{$items[i].title}></a></li>
  <{/if}>
<{/
section}>
</
ul>



If you change it to this then it should link you to the article:
<a href="<{$site_url}>" target="_blank"><{$site_name}></a><br />
<{if 
$image.url != ""}>
  <
img src="<{$image.url}>" width="<{$image.width|default:88}>" height="<{$image.height|default:31}>" alt="<{$image.title}>" /><br />
<{/if}>

<
ul>
<{
section name=i loop=$items}>
  <{if 
$items[i].title != ""}>
  <
li><a href="<{$items[i].link}>"><{$items[i].title}></a></li>
  <{/if}>
<{/
section}>
</
ul>
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

3
Kainaij
Re: X-Re-aggregator 2.52 - How do I...
  • 2011/4/20 17:52

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


Worked like a charm! Thank you very much for that. This module is now perfectly what I wanted, thanks for your work and effort Wishcraft.
Current Projects:
http://kainaistudies.com
http://mikaisto.com

4
wishcraft
Re: X-Re-aggregator 2.52 - How do I...

No problems Kainaij
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

Login

Who's Online

178 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

Donat-O-Meter

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

Latest GitHub Commits