This is the beta version of "module duplication" and others.
There are same changes of functional addition,
"the cooperation feature with RSS Center module" and etc.
If you dont use new functions, please use v0.97 or v1.13.
V1.30 releasedv1.221. Google Maps
(1) added inline mode in link register form
(2) in Japanese mode, added invert geocoder
(3) Added to check web browser
can use JavaScript and GoogleMaps
2. block
(1) added generic block
(2) added random block
3. corrected Enlish language files
4. bug fix
(1) 4342: crash if more than 100 characters in description
(2) 4344: Table 'weblinks_config2' doesn't exist
(3) 4349: IE cannot show google map in print.php
v1.211. Google Maps
(1) open Google site when click maker
(2) added map in print page
2. enhanced search feature
(1) added the narrow search with cateogry, recommend site, and reciprocal site
(2) added search in RSS feeds
(3) added linkage goto Google site
(4) added execution time
3. bug fix
(1) 4312: Fatal error in visit.php
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4312&group_id=1199&atid=971(2) 4313: same browser cannot show gm_get_location.php
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4313&group_id=1199&atid=971(3) 4318: cannot register bulk links
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4318&group_id=1199&atid=971(4) dont work "Accept registration of existing links"
(5) highlight double
updateMUST execute following, because change templates
(1) Update weblinks module in XOOPS management.
(2) Do "Clear cache of Templates" in "Module Configuration 2" of weblinks admin page
v1.20big changes1. happy linux module
The common functions in both weblinks module and rssc module, are concentrated happy_linux module.
To use this "weblinks" module, happy_linux module is necessary.
2. rssc module
The cooperation feature with RSS Center module is added.
The features are to collect RSS feeds, store in database, and show.
2.1 operation
When using RSS feature, set "yes" at "Use RSS feed" in admin page.
All operationa are madiateing with weblinks.
The user dont feel conscious to use rssc module.
2.2 improvemnet
the following are improved, by using rssc module,
(1) use "magpie" for the rss parser.
(2) can parse to distinguish <title> and <dc:title>
(3) can parse <enclosure>, and podcasting are supported.
2.3 continued features
following features are continued, because of downward compatibility (v1.13).
recommend to use rssc module, because it has a similar feature.
(1) "Latest RSS/ATOM feeds" block.
(2) "Show blog" block
(3) show blog at the custom block (include/atomfeed.inc.php).
2.4 abolished features
following features are abolished
plaese use rssc module, because it has a similar feature.
(1) bin/refresh_link.php
(2) bin/refresh_site.php
2.5 some problems
The discordance with two modules is ocuured,
becuase of cooperation feature with two modules.
(1) when deleted a link record in RSSC module.
Even if admin delete a link record in RSSC module,
program does not delete link record in weblinks module.
And then, program can not show RSS feed for link record in weblinks module.
Admin can correct this problem.
Admin add same link whitch was deleted in RSSC module.
And modify link ID of added link in weblinks module.
(2) there are two or more link records with same "RSS URL" in RSSC module.
When admin add link with mistaked "RSS URL" in weblinks module,
and then program add same mistaked link in RSSC module.
Admin modify "RSS URL",
and then program modify link record.
Therefore there are two or more link records with same "RSS URL" in RSSC module.
When link A cache is updated, RSSC module add RSS feed which belongs to link A.
And when link B cache is updated, RSSC module add RSS feed which belongs to link B.
RSSC module has the mechanism that not add same RSS feed.
Therefore, some RSS feeds 1,3,5 belongs to link A,
and other RSS feeds 2,4,6 belong to the link B.
For desirable feature,
when admin select link A or the link B.
program will show all RSS feeds 1,2,3,4,5,6
In present,
when admin select link A,
program can show RSS feeds 1,3,5 which belongs to link A.
Admin can correct this problem.
Admin delete link record with same "RSS URL" in weblinks module and RSSC module.
new features 1. search
(1) show context in search result,
corresponding to search module to be distributing in Amethyst Blue
(2) highlight keywords in search result
(3) added fuzzy search (Japanese only)
2. added Google Maps
showing Google Maps in datail page (singlelink.php)
step 1: The initial setting
(1) you MUST get "Google Maps API Key".
(2) enter this key in the admin page.
step 2: each Link
(1) when add newr link, you enter information about the latitude and longitude.
The place information about the latitude and longitude is automatically extracted,
when you select the place to want to show from the world map.
3. Link button goto the map site
this is some feature from the past.
3.1 you can choice the map site
when you want other site, you MUST create template.
- US Yahoo
- US Google
- UK Yahoo
- UK Google
3.2 separete the part of the map icon in link template, and made new map template.
3.3 added the option to show or not a map icon in each link.
4. show image in sub category.
5. added 75 and 100 in showing links in one page.
6. distribute leatest links in RDF/RSS/ATOM format.
7. admin page
7.1 added menu
(1) Module Configuration 3 (Link)
(2) Module Configuration 4 (RSS)
(3) Vote List
(4) CatLink List
(5) Command Manage (bin/link_check.php)
(6) DB Table Manage (zombie check, adjustment check with rssc module)
(7) Import Manage (mylinks)
(8) Export Manage (rssc)
7.2 link registration and edit
divided into three following steps and strengthen to check.
(1) registration of the link information
- check to connect the URL, not broken link ( in preview ).
(2) registration of the banner image
- when get the size of the banner image, show message if failed.
(3) registration the RSS information
- when auto disscovery of RSS URL, show message if failed.
- check to exist the same "RDF/RSS/ATOM URL" in the DB, show message if exist.
- when parsr the contents of RSS URL, show message if failed.
7.3 show bread crumb in admin page.
8. added password in command (bin/link_check.php)
command becomes the following form.
----
php4 -q -f /home/***/html/modules/weblinks/bin/link_check.php PASSWORD
-----
9. used session ticket class (XoopsGTicket)
reffer Perk's Tinyd module
10. added the mechanism experimentally to select country (Locate).
you can select language and country independently.
In the past, program decided country, for exsample decided USA in English mode.
In present, you can select United Kingdom and others in English mode.
10.1 use IANA's ccTLDs for the country code.
In this time, it got ready three country, Japan (jp), USA (us), United Kingdom (uk).
10.2 setting
USA is a default, in English mode,
When you change into United Kingdom,
enter "uk" into "country code" and click "update" button.
and next, click the "renew" button.
11. some features for the developer.
(1) generate TEST date at the DB table.
(2) TEST add link form and modify link form via http protocol.
DB table structure(1) atomfeed table
abolished to use atomfeed table.
table itself is left for downward compatibility.
(2) link and modify table
added following fields.
- map_use : show map icon
- rssc_lid : link id of RSSC module
- gm_xxx : about Google Maps
- aux_xx : reserved in future
Templates(1) templates directory
moved the parts of template in parts and xml sub directory.
(2) added parts sub directory
this is for parts of main template used in template_main
separete header and search form in weblinks_header.html
(3) added map sub directory
this is for link button goto map site.
(4) added xml sub directory
this is for distributing RSS feeds
requirement(1)
happy_linux module v0.30 is indispensabe necessary.
(2)
rssc module v0.40 is necessary when use rss feeds.
Update(1) Overwrite the files below weblinks directory.
some files are changed file name.
Although remained in overwrite, without deleting an old file,
there is no trouble in operetion.
If you worry it,
please delete old files and copy new files.
since you take backup of old files.
(2) Update weblinks module in XOOPS management.
You MUST do it, since I change the template files.
(3) upgrade config table in admin page.
the message is showing, if not newest version.
Caution:
linkitem table is initialized and an original value is destroyed.
As occasion demands, enter a value agine.
(4) when use RSS
(4-1) excute "module configuration 4" in admin page.
enter "RSSC Module Dirname and "Use RSS feed".
(4-2) execute "export manage" in admin page.
copying DB data in weblinks to rssc module.
(4-3) execute "DB table manage" in admin page.
confirms that there is not a discordance.
NoticeI change almost all files.
I dont change the database structure.
Although there are no big problem, but I think that there are any small problem.
Even if some problems come out, only those who can do somehow personally need to use.
Welcome a bug report, a bug solution, and your hack, etc.
TODOin this version, the big change about the basic structure is finished.
in next version, I will plan to add the backlog features.
For translatorPlease change language files with a sample about English files.
I cannot change them, since I dont have non-English editors.
special thanksI appreciates the following persons.
- Mr. suin who develop Search module
- Mr. GIJOE who develop Tinyd module
- Staff of SmartFactory who develop SmartSection module
- Mr. wye who contibute hack of Google Maps