Comments (12)
Is there any specific rules depending on the account type? Or is it just about displaying the type?
from dir.
It would be good to have it as an addition to the current separation in "All", "People" and "Forums".
So there would be now: "All", "People", "Organizations", "News accounts" and "Forums".
from dir.
Ok, this is exactly what I had in mind, thanks for the clarification.
from dir.
Great! If you need some help in providing the data for the directory, then just tell me. I'm not sure how it is currently exposed. I know that it is transferred via DFRN and I have in mind that it is distributed via POCO as well.
from dir.
I'm in the process of entirely rewriting the directory code as a personal exercise in Dependency Injection, so I will get the chance to look at the noscrape output from Friendica and store any field that wasn't handled before.
If there's no output of the account-type, then now is a good time to add it on the Friendica side.
from dir.
Normally we should export it since several versions, but I don't know where.
from dir.
There's only a comm
unity flag in the noscrape output whether the account is a personal account or a forum.
See https://friendica.mrpetovan.com/noscrape/hypolite
{
"addr": "[email protected]",
"nick": "hypolite",
"guid": "735a20292057e0afa5e14c2885654633",
"key": "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA4YyL4Z36Ir\/c93PyiEnu\nOHawWwt1ysqjCTNiLTvWWQq0VeobmQhpUDWW9W2cWJGwFLxEPt7EC7tHC0z\/5hup\nj0u\/XRE3bJAMK09WX+k4pwL9YHsznbbUkBglYvU7fcxtV3Jf6LqB7uifCkGt9zif\nIRzN4bDhxUnLVlwGbhLSgsZPYMyDgNmmNre3CoUtQPUnZBqn52igMjsekKceAgcQ\nWKLoTF9j+6ktr\/bhFHCAZYpsBCooIhxL9Q1OgQgMvGfyp+uHUXIMeewnRrG5asA+\nTCUab2gu8XTW16JgZQ6oxFxOkkMhxZ6A6MJWsEmvUOKZXyDalQ2lQA3V0De313XQ\nLvXM+z1gCzkXrQa76uJB0M+dHLSDJe80uLf+tuiJdvqijxFK8Da+WDNvoHezdjCA\nKLjuf4dc+VAxUPUtNBILTP4hIVECutyxiKZVGRwz2+8a4ZkFLMmRMKnxcBGfQWiu\nByPqsmjTvd77ZRPmyCld+S6PM040Eb0pkqnAPFF8TJvyfE\/PaqHMoVHs4kJUOnrH\n1JXBDQw67ogfs4Cu9Nvv732DtPwjV8tP11tPfgnrfJPue3AO8+X2OEYvPx\/Jit+4\n9Bl\/yKVFMXi0OFDejnQ3O7ymB1W1ZaQbOdgtm\/yPNm40PCPrmBpI12qbr8NMFM15\njP3rHRIG989q4PZFeF4Am0sCAwEAAQ==\n-----END PUBLIC KEY-----\n",
"homepage": "https:\/\/friendica.mrpetovan.com\/profile\/hypolite",
"comm": false,
"fn": "Hyp\ud83c\udf27lite Pe\u2602ov\ud83c\udf43n (he\/him)",
"photo": "https:\/\/friendica.mrpetovan.com\/photo\/27330388315ae4ed2b03e3c116980490-4.jpg?ts=1540951359",
"tags": ["videogame", "gaming", "boardgame", "politics", "philosophy", "development", "programming", "php"],
"updated": "2018-11-01T13:31:31-04:00",
"contacts": 383,
"last-activity": "2018-44",
"pdesc": "Subpar geek, french\/english, science, games, feminism, jokes and anything in between. Avatar by @[email protected]",
"locality": "Brooklyn",
"region": "New York",
"country-name": "USA",
"gender": "Male",
"marital": "Partners",
"about": "Subpar geek, french\/english, science, games, feminism, jokes and anything in between. Avatar by @[email protected]",
"dfrn-request": "https:\/\/friendica.mrpetovan.com\/dfrn_request\/hypolite",
"dfrn-confirm": "https:\/\/friendica.mrpetovan.com\/dfrn_confirm\/hypolite",
"dfrn-notify": "https:\/\/friendica.mrpetovan.com\/dfrn_notify\/hypolite",
"dfrn-poll": "https:\/\/friendica.mrpetovan.com\/dfrn_poll\/hypolite"
}
from dir.
No, we really should transmit the other type in some way.
from dir.
Be my guest, I'm going to prepare a free-form text field for the account type in the new directory data structure. For now it's going to be either "People" or "Forum" but it will accept any new string seamlessly.
from dir.
Some more strict field content would be better, since I guess it would be great to (e.g.) be able to search for news accounts,
from dir.
AND `account_type` = "News"
from dir.
The data structure is ready on the next version of the directory, we just need to agree on the noscrape
output.
from dir.
Related Issues (20)
- Dynamic version scoring HOT 5
- Locations Sidebar Results HOT 2
- Remove all Javascript HOT 1
- Add search on tags HOT 2
- health page not working HOT 3
- wrong download link
- Make the maintenance.html page configurable HOT 1
- bug location HOT 2
- Feature list of recommended public servers broken HOT 3
- Server health tests are a little unfair due to absolute timing values HOT 63
- Short statistic on the directory servers HOT 4
- Decentralized Network Clarification HOT 4
- Profiles with censored=1 should not be updated / unblocked by cron_sync.php HOT 16
- Missing isset() calls causing noisy logs HOT 1
- Update Version Check, including partical automation HOT 2
- Feedback loop between multiple servers with push enabled HOT 21
- Missing UNIQUE key for base_url and reduction to normalized URL HOT 4
- Filter for explicit content nodes in Server list HOT 1
- Next version of the directory 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 dir.