31
ukandrewf
Re: FreeContent Webdigest v.3.0 Final
  • 2004/4/7 20:39

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


that's perfect thanks!!!

how does the regex work then? I just have to put some common elements from each line I want deleted and that's enough? Fascinating.

Andrew

32
wjue
Re: FreeContent Webdigest v.3.0 Final
  • 2004/4/7 21:31

  • wjue

  • Quite a regular

  • Posts: 315

  • Since: 2002/8/3 7


regex stands for regular expression, you can make sophiscated pattern filter with regex. ex: anything begining with "welcome to..." can be matched by:

^welcome to*

etc...

Quote:

ukandrewf wrote:
that's perfect thanks!!!

how does the regex work then? I just have to put some common elements from each line I want deleted and that's enough? Fascinating.

Andrew

33
ukandrewf
Re: FreeContent Webdigest v.3.0 Final
  • 2004/4/7 22:54

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


thanks for your help. Can i ask my p.s. again...
Quote:
p.s. looking through the php it does seem as if freecontent will rewrite urls/mailto's etc where does this happen? For example do you copy a page upload it and then the module will relink everything? How does it work?
My orginal understanding of the module was that it allowed you to wrap an existing external page and rewrite links and mailto:'s on the fly - but this seems to have been wrong?

also just upgraded to 3.1. There's a small typo in the text file for upgrade.

Quote:

should be

Quote:

Finally I'm having some problems with blocks - after the upgrade i thoughts magic news and ticker we're loading but once i'd been to the freecontent admin (just going there seemed to do it) they're back:-

1) how can i determine which news is shown? It seems to pickup on the first link ID is there anyway to change which news is shown?

2) FreeContent block while set to be visible has not shown under 3.0 or 3.1

4) how can i select which news feed to show here?

thanks again for all your help

Andrew

34
ukandrewf
Re: FreeContent Webdigest v.3.0 Final
  • 2004/4/15 20:25

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


i found this site which i thought made great free content...
http://www.reuters.co.uk/newsChannel.jhtml?type=oddlyEnoughNews

but the links don't seem to be updating does freecontent not support .jhtml?

how does the content get updated? does it only update when people click on the source site link?

also I still have the questions from my previous post :)

thanks

Andrew

35
wjue
Re: FreeContent Webdigest v.3.0 Final
  • 2004/4/16 20:48

  • wjue

  • Quite a regular

  • Posts: 315

  • Since: 2002/8/3 7


Quote:
how does the content get updated? does it only update when people click on the source site link?


Yes, and you can set a cache timeout with XOOPS Smarty cache value.

FreeContent support all type provided it returns HTML outputs.


wjue

36
ukandrewf
Re: FreeContent Webdigest v.3.0 Final
  • 2004/4/20 20:37

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


where is this done? is there a post wbhich explains the process?

37
wjue
Re: FreeContent Webdigest v.3.0 Final
  • 2004/4/21 23:39

  • wjue

  • Quite a regular

  • Posts: 315

  • Since: 2002/8/3 7


Xoops' admin panel, and then

preferences > general settings > module wide caching

set the cache time of FreeContent to 5 mn (for ex.)


wjue


Quote:

ukandrewf wrote:
where is this done? is there a post wbhich explains the process?

38
ukandrewf
Re: FreeContent Webdigest v.3.0 Final
  • 2004/4/25 13:43

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


there's two things holding me back from rolling this module out.

1) The digest is great but I'd like to be able to specify in the digest block which news will be shown. So for exampl,e while I may want a,b,c,d,e as sources in the digest front page, I might only want news items to show from a,e on the front page in rotation.

2) I'd need to get rid of the developer code in the news scroller and digest blocks - I'm happy to make a payment to do this.

39
kisuk
Re: FreeContent Webdigest v.3.0 Final
  • 2004/5/2 20:20

  • kisuk

  • Just popping in

  • Posts: 1

  • Since: 2004/5/2 2


It took me ages to get that darn thing cURL with PHP/APACHE/WINDOWS working but with some help from a text-file I stumble upon I got it finally going.

Here is how it goes:

==========================================================
1. Only install PHP with the zip'd binaries. Don't use the installer. I recommend deleting your current PHP installation and reinstalling with the binaries. Downloading the latest PHP has the added benefit of ensuring its compatible with the version of cURL you'll download later. (I installed to D:\apps\php and will use that path for the rest of this example)
2. Edit your php.ini file:
- set extension_dir to d:\apps\php\extensions
- set register_globals to On
- set session.save_path to d:\apps\php\temp (you need to create that directory first)
3. Copy php4ts.dll to your Apache bin folder
4. Copy libeay32.dll and ssleay32.dll to c:\WINNT
5. Download cURL for Windows at: http://curl.haxx.se/download.html. I chose the Win32 - Generic by Jörn Hartroth. I recommend getting the SSL version in case you ever need SSL. I unzipped cURL to d:\apps\curl and will use that path for the rest of this example
6. [SSL INSTALL ONLY] Download OpenSSL for Windows from http://curl.haxx.se/download.html. (Its near the bottom of the page). Extract libssl32.dll to d:\apps\curl
7. [Windows XP Install Only] Check to see if you have the following file: c:\windows\system32\msvcr70.dll. If not, search for it in Google and download it to system32. You may get error messages without it.
8. Uncomment the curl line in your php.ini file to enable curl: extension=php_curl.dll
9. Finally edit your Apache httpd.conf file to enable php:
- Add Line: LoadModule php4_module d:/apps/php/sapi/php4apache2.dll
- Add Line: AddType application/x-httpd-php .php
==========================================================

source: http://www.tonyspencer.com/journal/00000037.htm
(little modified)

Thank you Tony Spencer for helping me out and thank you wjue for this excellent module and also for x-agenda!

With best regards,
Kisuk

40
zer0fill
Re: FreeContent Webdigest v.3.0 Final
  • 2004/5/24 22:14

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2



Login

Who's Online

200 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 200


more...

Donat-O-Meter

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

Latest GitHub Commits