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 |
566 |
x sysadmin@netfrag.org |
x sysadmin@netfrag.org |
567 |
x faq@netfrag.org |
x faq@netfrag.org |
568 |
|
|
569 |
x setup newsportal (by Florian Amrhein) |
x --rework|*reworked*-- apache-layout - check into repository as something root is responsible for! |
570 |
|
|
571 |
|
x --setup|*setting up*-- newsportal (by Florian Amrhein) |
572 |
x url: http://florian-amrhein.de/newsportal/ |
x url: http://florian-amrhein.de/newsportal/ |
573 |
x cd /home/service/download |
x cd /home/service/download |
574 |
x mkdir newsportal |
x mkdir newsportal |
575 |
x cd newsportal |
x cd newsportal |
576 |
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 |
577 |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
578 |
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/ |
579 |
|
x add to /data/www/virtual/netfrag/conf/applications.conf |
580 |
|
Alias /webnews/ /data/www/global/apps/newsportal/ |
581 |
x rework apache-layout - check into repository as something root is responsible for! |
x configure in /data/www/global/apps/newsportal/config.inc |
582 |
|
// newsserver setup |
583 |
|
$server="news.netfrag.org"; |
584 |
|
$server_auth_user="webnews"; |
585 |
|
$server_auth_pass="web123"; |
586 |
|
x add to /etc/news/nnrp.access: |
587 |
|
# 2003-01-26, joko |
588 |
|
*:Read Post:webnews:web123:* |
589 |
|
x modify groups.txt |
590 |
|
<nfo.* - add all groups here> |
591 |
|
o TODO: AUTOUPDATE here! |
592 |
|
x add to the index-page: |
593 |
|
xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />" |
594 |
|
x grep -rin "<head" * |
595 |
|
doc/readme-deutsch.html:4:</head> |
596 |
|
doc/faq.html:4:</head> |
597 |
|
doc/history.txt:234:- fehlender </head> Tag ergaenzt |
598 |
|
doc/readme-english.html:4:</head> |
599 |
|
doc/history.txt~:233:- fehlender </head> Tag ergaenzt |
600 |
|
extras/frames/thread_frameset.php:10:</head> |
601 |
|
head.inc:5:</head> |
602 |
|
x cvs add head.inc |
603 |
|
x cvs commit -m "+ initial commit" head.inc |
604 |
|
x <modify head.inc> |
605 |
|
x nano head.inc |
606 |
|
x <jump to line 5> STRG+W + T: 5 |
607 |
|
xR <insert INSERTION> |
608 |
|
xR <insert [ENTER]> |
609 |
|
x <save file> STRG+O + [ENTER] |
610 |
|
x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>> |
611 |
|
o TODO: RefactorThisHtmlRef to WebNews |
612 |
|
o view message in some MimeViewer or HtmlViewer (Horde?) |
613 |
|
o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities |
614 |
|
x Why newsportal and no other? |
615 |
|
x directly connects to nntp-daemon |
616 |
|
x has local spool (o TODO: purge regularly?) |
617 |
|
x highly customizable |
618 |
|
x added custom css-stylesheet and changed something at content-rendering-level without any problems |
619 |
|
x visit cvs.netfrag.org to look at the changes made to the newsportal codebase: |
620 |
|
x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a> |
621 |
|
o TODO: RefactorThisLink |
622 |
|
x it's just easy! |
623 |
|
x setup dispatchrequest for http://news.netfrag.org |
624 |
|
x cd /data/www/virtual/netfrag/sites/news/ |
625 |
|
x create symlink |
626 |
|
x ./.symlinkrc |
627 |
|
x copy over from webcvs |
628 |
|
x cp ../webcvs/index.php . |
629 |
|
x mkdir .dispatch |
630 |
|
x cd .dispatch |
631 |
|
x cp ../webcvs/.dispatch/config.php . |
632 |
|
x cp ../webcvs/.dispatch/index.php . |
633 |
|
x cvs add ... |
634 |
|
x cvs commit ... |
635 |
|
x added|*adding* dispatcher at http://news.netfrag.org |
636 |
|
x used and mungled DispatchRequest(->cvs, ->doc, ->search) for this purpose |
637 |
|
o IdeaFor ParseDoc: expand: cvs=JumpToCvs, doc=JumpToDoc, search=SearchFor |
638 |
|
x examples for the JumpToCvs mechanism are shown on <a href="http://netfrag.org/~joko/computing/overview/topics/>computing/overview/topics</a> |
639 |
|
x tested http://cvs.netfrag.org/ - still working... |
640 |
|
o AddedFeatures to DispatchRequest: |
641 |
|
x JumpToNewsgroup: http://news.netfrag.org/nfo.tutos.sysadmin/ |
642 |
|
o JumpToThread: NotYetImplemented! DoWeReallyNeedThis? |
643 |
|
o JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/b0shbj$l9s$1@quepasa.netfrag.org |
644 |
|
x JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/44 |
645 |
|
|
646 |
|
|
647 |
o NfoWeb |
o NfoWeb |
648 |
o add WikiPages: |
o add WikiPages: |
670 |
o IconForNetfrag.Org? |
o IconForNetfrag.Org? |
671 |
o fav.ico? |
o fav.ico? |
672 |
|
|
673 |
x install viewcvs |
x --*installed*|install-- viewcvs |
674 |
x apt-get install viewcvs |
x apt-get install viewcvs |
675 |
x configured: |
x configured: |
676 |
x /var/lib/cvs |
x /var/lib/cvs |
681 |
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
682 |
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
683 |
|
|
684 |
o rendering proposals for TaviWorkflow |
o rendering *proposals* for TaviWorkflow |
685 |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
686 |
o Coloring |
o Coloring |
687 |
o [o=red, x=green, R=red, r=green] |
o [o=red, x=green, R=red, r=green] |
688 |
|
|
689 |
o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
690 |
|
|
691 |
x web-based newsreader? twig! |
x web-based newsreader? twig! |
692 |
x apt-get install twig |
x apt-get install twig |
968 |
o link-checker for netfrag.org |
o link-checker for netfrag.org |
969 |
|
|
970 |
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" />? |
971 |
|
o styleme.php |
972 |
|
o brandme.php |
973 |
|
|
974 |
|
|
975 |
|
|
976 |
o mini-howto: "HttpRedirect" |
o mini-howto: "HttpRedirect" |
977 |
|
|
1030 |
(o DownloadItems) <- want-to-have |
(o DownloadItems) <- want-to-have |
1031 |
o OfflineReading (pdf, chm) |
o OfflineReading (pdf, chm) |
1032 |
|
|
1033 |
|
o link to http://teamsonar.no-ip.com |
1034 |
|
|
1035 |
|
o mail announces to announce@netfrag.org |
1036 |
|
|
1037 |
|
o no symlinks in webroot anymore? use ApacheAliases? |
1038 |
|
|
1039 |
|
o MiniHowto: NfoLinkageSystem |
1040 |
|
|
1041 |
|
|
1042 |
</pre> |
</pre> |
1043 |
|
|