Comments (9)
One way is to drag the location field for one site to a new item factory (use [+] to get one) of the other. Current drop handler only works with Webkit browsers: chrome or safari.
Another way is to fork pages that already have links. This will work better when there are already many to choose from.
I've been known to edit them into database files with a text editor.
from smallest-federated-wiki.
Soon internal links (made with [[link]] syntax) will automatically search your neighborhood of the federation. You define that neighborhood with the mechanisms mentioned in my previous comment.
from smallest-federated-wiki.
Ward-
Thanks for starting this... its really interesting. Just to clarify: there is currently no syntax to define an external link to a federated page so that you can see them in the "Miller columns" view, right?
I was able to drag a page from one federated wiki to another using Chrome, but all I got in the target page was the text of the initial page. It had no link knowledge of where it came from. Is that the proper behavior?
Thanks,
Daryl
from smallest-federated-wiki.
I expect most linking will come from following forks in the journal. However, there must be some way to introduce a new site to the federation so that this forking can get started. The current approach is as follows (coded only for chrome):
- create a new Factory paragraph by clicking the [+] at the bottom of a page.
- drag-and-drop the location bar contents of another federated wiki page to this Factory.
This creates a paragraph of type of FederatedWiki. I've encountered a number of issues that make it hard to understand what is going on when dealing with content from multiple sites. Some of these are known bugs. Others are as yet unresolved usability traps. I'm working through these slowly so as to arrive at the best possible solutions.
from smallest-federated-wiki.
Ok, thanks, Ward. I was able to create the paragraph of type "federatedWiki" but it only displays a portion of the included page and when its clicked I a new "page" appears to the right, but it is blank.
I am really excited and looking forward to see where this project goes, thanks again!
from smallest-federated-wiki.
Daryl -- Some of this sounds right. A type federatedWiki story item is meant to refer to a page on another site. I copy the first paragraph of that page to make a "fat" link. You can edit that text if the first paragraph doesn't make a suitable citation.
The blank page sounds wrong. When you follow the fat link the client-side javascript appeals to the origin server for help retrieving the remote wiki page. This has the origin server working as a proxy to the other server. (One advantage of this scheme is that the origin server cache that page too so you will always have it.)
Are you using the Ruby/Sinatra server? I'm not sure this proxy behavior has been implemented in the Node/Express server yet.
I'm also considering having the client-side javascript fetch the page directly from the remote server. It does this to retrieve the first paragraph when it makes the fat link citation. Such direct access is referred to as Cross-Origin Resource Sharing (CORS for short). I didn't understand CORS when I wrote the server-side proxy code to access remote pages.
You now find yourself in an area of active development where the "right way" to do something isn't always obvious. I've written up some help pages that include a sample of a working citation. See if this works for you:
http://fed.wiki.org/view/how-to-wiki/view/add-paragraphs/view/example-citation
from smallest-federated-wiki.
Ward-
Yes, I am using Sinatra. Using your example link, I now have the remote wiki linking working and it doesn't come up with a blank page.
Thanks again for the help!
Daryl
from smallest-federated-wiki.
Thanks for your patience. There is lots here that can be made much smoother.
from smallest-federated-wiki.
No apologies necessary. This is an exciting project that I will be watching closely. I intend to set up a "federation" with my programming Team once it matures and stabilizes a bit more and will continue to give you feedback on my progress.
from smallest-federated-wiki.
Related Issues (20)
- I've made a 'Deploy to Heroku' button HOT 1
- Journal Data Missing HOT 5
- Support for other languages HOT 1
- Unexpected Network Changed Error HOT 6
- An easy offline read-only version of a fed wiki site? HOT 2
- Documentation of plugin available while editing HOT 2
- Close a column HOT 3
- Story Data Missing, Journal Data Preserved HOT 5
- Pages Named "Clear" Cause Weird Behavior HOT 5
- Help. What frequent questions should our FAQ answer? HOT 3
- Is it possible to horizontally scroll with a trackpad? HOT 1
- Google OpenID claiming no longer working HOT 2
- Wiki Chrome Extension planning HOT 9
- TypeError: Can't find plugin for 'html' HOT 4
- Installation Guide outdated ? HOT 1
- Provide a link to current discussion / issue tracker in Readme.md HOT 1
- Potential for federated wiki on sandstorm.io? HOT 13
- Directory 'Smallest-Federated-Wiki/server/express' doesn't exist HOT 1
- Stronglinks
- FedWiki on ChromeOS Version 64 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smallest-federated-wiki.