| 1 |
<html> |
<html> |
| 2 |
<head> |
<head> |
| 3 |
<title>joko's sample notes - 2003-01</title> |
<title>joko's sample notes - 2003-01 - InventoryCleanupAndRefactoring</title> |
| 4 |
<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" /> |
<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" /> |
| 5 |
</head> |
</head> |
| 6 |
<body> |
<body> |
| 434 |
x /etc/init.d/apache reload |
x /etc/init.d/apache reload |
| 435 |
x test: http://news.netfrag.org/ |
x test: http://news.netfrag.org/ |
| 436 |
|
|
|
|
|
|
|
|
| 437 |
o new module for cvs-repository? |
o new module for cvs-repository? |
| 438 |
o nfo/layouts/fs/skel/data2 |
o nfo/layouts/fs/skel/data2 |
| 439 |
o checkout to /data on quepasa.netfrag.org |
o checkout to /data on quepasa.netfrag.org |
| 573 |
x cd newsportal |
x cd newsportal |
| 574 |
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
| 575 |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
| 576 |
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/virtual/netfrag/global/apps/newsportal/ |
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/global/apps/newsportal/ |
| 577 |
|
x add to /data/www/virtual/netfrag/conf/applications.conf |
| 578 |
|
Alias /webnews/ /data/www/global/apps/newsportal/ |
| 579 |
|
x configure in /data/www/global/apps/newsportal/config.inc |
| 580 |
|
// newsserver setup |
| 581 |
|
$server="news.netfrag.org"; |
| 582 |
|
$server_auth_user="webnews"; |
| 583 |
|
$server_auth_pass="web123"; |
| 584 |
|
x add to /etc/news/nnrp.access: |
| 585 |
|
# 2003-01-26, joko |
| 586 |
|
*:Read Post:webnews:web123:* |
| 587 |
|
x modify groups.txt |
| 588 |
|
<nfo.* - add all groups here> |
| 589 |
|
o TODO: AUTOUPDATE here! |
| 590 |
|
x add to the index-page: |
| 591 |
|
xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />" |
| 592 |
|
x grep -rin "<head" * |
| 593 |
|
doc/readme-deutsch.html:4:</head> |
| 594 |
|
doc/faq.html:4:</head> |
| 595 |
|
doc/history.txt:234:- fehlender </head> Tag ergaenzt |
| 596 |
|
doc/readme-english.html:4:</head> |
| 597 |
|
doc/history.txt~:233:- fehlender </head> Tag ergaenzt |
| 598 |
|
extras/frames/thread_frameset.php:10:</head> |
| 599 |
|
head.inc:5:</head> |
| 600 |
|
x cvs add head.inc |
| 601 |
|
x cvs commit -m "+ initial commit" head.inc |
| 602 |
|
x <modify head.inc> |
| 603 |
|
x nano head.inc |
| 604 |
|
x <jump to line 5> STRG+W + T: 5 |
| 605 |
|
xR <insert INSERTION> |
| 606 |
|
xR <insert [ENTER]> |
| 607 |
|
x <save file> STRG+O + [ENTER] |
| 608 |
|
x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>> |
| 609 |
|
o TODO: RefactorThisHtmlRef to WebNews |
| 610 |
|
o view message in some MimeViewer or HtmlViewer (Horde?) |
| 611 |
|
o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities |
| 612 |
|
x Why newsportal and no other? |
| 613 |
|
x directly connects to nntp-daemon |
| 614 |
|
x has local spool (o TODO: purge regularly?) |
| 615 |
|
x highly customizable |
| 616 |
|
x added custom css-stylesheet and changed something at content-rendering-level without any problems |
| 617 |
|
x visit cvs.netfrag.org to look at the changes made to the newsportal codebase: |
| 618 |
|
x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a> |
| 619 |
|
o TODO: RefactorThisLink |
| 620 |
|
x it's just easy! |
| 621 |
|
x setup dispatchrequest for http://news.netfrag.org |
| 622 |
|
x cd /data/www/virtual/netfrag/sites/news/ |
| 623 |
|
x create symlink |
| 624 |
|
x ./.symlinkrc |
| 625 |
|
x copy over from webcvs |
| 626 |
|
x cp ../webcvs/index.php . |
| 627 |
|
x mkdir .dispatch |
| 628 |
|
x cd .dispatch |
| 629 |
|
x cp ../webcvs/.dispatch/config.php . |
| 630 |
|
x cp ../webcvs/.dispatch/index.php . |
| 631 |
|
x cvs add ... |
| 632 |
|
x cvs commit ... |
| 633 |
|
|
| 634 |
x rework apache-layout - check into repository as something root is responsible for! |
x rework apache-layout - check into repository as something root is responsible for! |
| 635 |
|
|
| 957 |
o link-checker for netfrag.org |
o link-checker for netfrag.org |
| 958 |
|
|
| 959 |
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
| 960 |
|
o styleme.php |
| 961 |
|
o brandme.php |
| 962 |
|
|
| 963 |
|
|
| 964 |
|
|
| 965 |
o mini-howto: "HttpRedirect" |
o mini-howto: "HttpRedirect" |
| 966 |
|
|
| 1019 |
(o DownloadItems) <- want-to-have |
(o DownloadItems) <- want-to-have |
| 1020 |
o OfflineReading (pdf, chm) |
o OfflineReading (pdf, chm) |
| 1021 |
|
|
| 1022 |
|
o link to http://teamsonar.no-ip.com |
| 1023 |
|
|
| 1024 |
|
o mail announces to announce@netfrag.org |
| 1025 |
|
|
| 1026 |
|
o no symlinks in webroot anymore? use ApacheAliases? |
| 1027 |
|
|
| 1028 |
|
|
| 1029 |
</pre> |
</pre> |
| 1030 |
|
|